简体   繁体   English

如何在便携式应用程序中存储用户凭据?

[英]How to store user credentials in portable apps?

Windows Runtime (WinRT/8) has a PasswordVault service which implements storage for user passwords and etc. But what about Xamarin's Android, iOS and WinPhone SDKs? Windows运行时(WinRT / 8)具有PasswordVault服务,该服务实现了用户密码等的存储。但是Xamarin的Android,iOS和WinPhone SDK呢?

Application that use encryption, if i will implement it natively in code, get covered by restrictions, if am correct. 使用加密的应用程序(如果我将在代码中本地实现)将受到限制(如果正确)的保护。

You can use the Akavache package to save login credentials. 您可以使用Akavache软件包保存登录凭据。 See the exstensive documentation on the GitHub: https://github.com/akavache/Akavache/#extension-method-documentation 请参阅GitHub上的大量文档: https : //github.com/akavache/Akavache/#extension-method-documentation

An example would be: 一个例子是:

BlobCache.Secure.SaveLogin(Username, Password);

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM