CredentialsStorage class abstract

Manage user credentials, credentials are JWT token, basic auth token, refresh token, cookie or something to identify current user with upstream.

Implementers

Constructors

CredentialsStorage()

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

delete() FutureOr<void>
Remove credentials.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read() FutureOr<Map<String, String>?>
Read credentials.
toString() String
A string representation of this object.
inherited
write(Map<String, String> credentials) FutureOr<void>
Write credentials, store in memory buffer and put to disk if user want to persist.

Operators

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