Interface for storage of OAuth credentials.
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(
) → FutureOr< void> - Clear any stored credential. This is called when authentication fails.
-
fetchCredentials(
) → FutureOr< String?> - Fetch stored credentials.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveCredentials(
String? credentialsJson) → FutureOr< void> - Save newly obtained credentials. This is called when authentication or refreshing tokens succeeds.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited