AuthAsyncStorage class abstract
Key-value storage the auth client keeps its session and pkce code verifiers in.
The session is written under AuthClient.storageKey whenever it changes
and read back when a client is created, so that it outlives the process.
Code verifiers are stored under keys prefixed with the same key while
their pkce flow is pending.
- Implementers
Constructors
- AuthAsyncStorage()
-
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
-
getItem(
String key) → Future< String?> -
Returns the value stored under
key, ornullwhen there is none. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeItem(
String key) → Future< void> -
Removes the value stored under
key, if any. -
setItem(
String key, String value) → Future< void> -
Stores
valueunderkey, replacing any earlier value. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited