SecureClientAuthSuccessStorage class
A ClientAuthSuccessStorage based on FlutterSecureStorage.
- Inheritance
-
- Object
- CachedClientAuthSuccessStorage
- SecureClientAuthSuccessStorage
Constructors
- SecureClientAuthSuccessStorage({FlutterSecureStorage? secureStorage, String? authSuccessStorageKey})
- Creates a SecureClientAuthSuccessStorage instance.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearCache(
) → Future< void> -
Clear the cache for the authentication info, if any. The next call to the
get method will perform the operation on the delegate.
inherited
-
get(
) → Future< AuthSuccess?> -
Get the stored authentication info, if any. To ensure good performance,
the implementation should cache the value and return it on subsequent
calls without accessing the storage again.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
set(
AuthSuccess? data) → Future< void> -
Set the authentication info.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited