TokenStore class abstract

Protocol for storing and retrieving cached token credentials.

Implement this abstract class to create custom storage solutions like SharedPreferences or secure storage for token caching.

Implementers

Constructors

TokenStore()

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.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retrieve() Future<TokenStoreItem?>
Retrieve the cached credentials.
store(TokenRequestOptions options, TokenSourceResponse response) Future<void>
Store credentials in the store.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited