TokenManager class abstract

Stores access token and refresh token from AuthApi.

This abstract class can be used to store token information in different locations than provided by the SDK.

Implementers

Constructors

TokenManager()

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

clear() Future<void>
clears all data related to access token from the device.
getToken() Future<OAuthToken?>
retrieves access token and other information from the designated store.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setToken(OAuthToken token) Future<void>
stores access token and other retrieved information from AuthApi.issueAccessToken
toString() String
A string representation of this object.
inherited

Operators

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