AuthSession class
Constructors
- AuthSession({VoTokenManager? tokenManager, AuthStorage? storage})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tokenManager → VoTokenManager
-
final
Methods
-
applyTokens(
AuthTokens tokens) → Future< User> -
hasStoredSession(
) → Future< bool> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refresh(
) → Future< bool> -
Passed to
VoApiClientasonUnauthorized. -
restoreUser(
) → Future< User?> -
signOut(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ AuthSession
-
getter/setter pair