TokenProvider class abstract
Constructors
- TokenProvider()
-
const
- TokenProvider.dynamic(TokenLoader loader, {UserToken? initialToken, OnTokenUpdated? onTokenUpdated})
-
factory
- TokenProvider.from(UserToken? token, TokenLoader? loader, [OnTokenUpdated? onTokenUpdated])
-
factory
- TokenProvider.static(UserToken token, {OnTokenUpdated? onTokenUpdated})
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isStatic → bool
-
no setter
- onTokenUpdated ← OnTokenUpdated
-
no getter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getToken(
String userId) → Future< Result< UserToken> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited