FlutterAuthenticationKeyManager class
Implementation of a Serverpod AuthenticationKeyManager
specifically for
Flutter. Authentication key is stored in the SharedPreferences
.
Constructors
- FlutterAuthenticationKeyManager({String runMode = 'production', Storage? storage})
- Creates a new authentication key manager. By default it uses the shared preferences for storing keys.
Properties
Methods
-
get(
) → Future< String?> - Retrieves an authentication key.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
put(
String key) → Future< void> - Saves an authentication key retrieved by the server.
-
remove(
) → Future< void> - Removes the authentication key.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited