secure_session_manager 1.2.1
secure_session_manager: ^1.2.1 copied to clipboard
Lightweight, secure session management for Flutter with automatic token refresh and Dio/http interceptors.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add secure_session_managerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
secure_session_manager: ^1.2.1Alternatively, 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_session_manager/secure_session_manager.dart';