DefaultTokenManager class
- Inheritance
-
- Object
- ITokenManager
- DefaultTokenManager
Constructors
- DefaultTokenManager({required String tokenEndpoint, required String clientID, required String redirectURL, String scope = "offline_access Files.ReadWrite.All"})
Properties
- clientID → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- redirectURL → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope → String
-
final
- tokenEndpoint → String
-
final
Methods
-
clearStoredToken(
) → Future< void> -
clear token
override
-
getAccessToken(
) → Future< String?> -
get access token
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveTokenResp(
dynamic resp) → Future< void> -
save token response
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited