InMemoryCredentialsStorage class
A CredentialsStorage implementation storing credentials in the memory.
- Implemented types
Constructors
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.
override
-
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.
override
-
save(
Credentials credentials) → Future< void> -
Save
credentials
to the storage.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited