简体   繁体   English

帐户删除安全存储颤振

[英]Account Deletion Secure Storage Flutter

I want to delete user in my flutter app.我想在我的颤振应用程序中删除用户。 I am a bit confused with the API call using secure storage.我对使用安全存储的 API 调用有点困惑。 Can you help me out with the code?你能帮我写代码吗?

Thanks.谢谢。

you mean flutter secure storage你的意思是颤振安全存储

static final _storage = FlutterSecureStorage();
static Future deleteAuthAll() async => await _storage.deleteAll();// delete all
static Future deleteAuth(String key) async => await _storage.delete(key: key);//delete specific key

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

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