secure_token_storage 0.1.0
secure_token_storage: ^0.1.0 copied to clipboard
Persists OAuth-style access and refresh tokens with separate expiry timestamps in the platform's secure enclave (Android Keystore / iOS Keychain) via flutter_secure_storage.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add secure_token_storageThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
secure_token_storage: ^0.1.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:secure_token_storage/secure_token_storage.dart';