TokenPersistenceCallback typedef
Callback for persisting or clearing the auth token.
Implement this to store the token in secure storage (e.g. flutter_secure_storage).
Implementation
typedef TokenPersistenceCallback = Future<void> Function(String? token);