token_storage 1.2.0
token_storage: ^1.2.0 copied to clipboard
A Flutter wrapper around flutter_secure_storage for managing an auth token pair and generic secure key-value storage, with fresh-install cleanup.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add token_storageThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
token_storage: ^1.2.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:token_storage/token_storage.dart';