discontinuedPackage passage_flutter has been discontinued.
PassageTokenStore class
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
-
getValidAuthToken()
→ Future<String>
-
Returns the auth token for the currently authenticated user.
If the stored auth token is invalid, this method will use the refresh token to get and save a new auth token.
-
isAuthTokenValid(String authToken)
→ Future<bool>
-
Checks if the auth token for the currently authenticated user is valid.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
refreshAuthToken()
→ Future<AuthResult>
-
Refreshes, retrieves, and saves a new authToken for the currently authenticated user using their refresh token.
-
toString()
→ String
-
A string representation of this object.
inherited