AuthStore<U> class abstract

Auth data store interface. Should implement this with storing user details. Better to store in a secure storage.

Constructors

AuthStore()

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>
When ever user logged out this method will be called to remove the persisted user.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retrieve() FutureOr<U?>
When initializing the AuthProvider this method will be called to retrieve the saved User data. Should return U
save(U user) FutureOr<void>
When ever userU logged in this method will be called to persist the user information.
toString() String
A string representation of this object.
inherited

Operators

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