InMemoryTokenStore class
A simple in-memory store implementation for token caching.
This store keeps credentials in memory and is lost when the app is terminated. Suitable for development and testing.
- 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> -
Clear all stored credentials.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
retrieve(
) → Future< TokenStoreItem?> -
Retrieve the cached credentials.
override
-
store(
TokenRequestOptions options, TokenSourceResponse response) → Future< void> -
Store credentials in the store.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited