FlutterSecureCredentialsStorage class
A flutter_secure_storage
implementation of the CredentialsStorage
.
Constructors
- FlutterSecureCredentialsStorage()
-
Creates the
CredentialsStorage
.const
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
-
clear(
) → Future< void> -
Remove the
oauth2.Credentials
from the storage. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
) → Future< Credentials?> -
Get saved
oauth2.Credentials
or null when none could be found. -
save(
Credentials credentials) → Future< void> -
Save
credentials
to the storage. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited