authentication - Xamarin.Auth:Account.Create() 不安全
问题描述
我正在使用 Xamarin.Auth.XamarinForms 保存用户名和密码,因此用户无需担心记住密码。
我收到一个错误:
This version is insecure, because of default password.
Please use version with supplied password for AccountStore:
AccountStore.Create(Contex, string);
or
AccountStore.Create(string);
Using:
AccountStore.Create(Contex);
or
AccountStore.Create();
在库中,只有 Create(),我确实使用了该方法。我需要担心这个消息吗?
解决方案
现在推荐的操作是SecureStorage
改用。
推荐阅读
- windows - 用于在多个目录中创建相同文件夹的 PowerShell 脚本
- node.js - HTTP POST Firebase 云函数“Access-Control-Allow-Origin”错误
- .net - Convert XDocument to string without added /r /n
- login - Blue Prism - 输入文本框登录名和密码,但网站显示请输入用户名和密码
- jquery - 如何完美地居中一个根据用户输入而变化的圆
- javascript - KendoUI 下拉列表
- algorithm - T(n) = 2T(n/2) +O(1) 的时间复杂度是多少
- sql - 预期 XQuery [modify()]: ")"
- java - 使用 Mockito 基于泛型类型匹配参数
- php - 如何在 WooCommerce 多操作下拉列表中添加和删除操作?