AccessTokenRequester class

Interface that is passed on to SessionHandler.onAccessTokenRequired. After the application fetches the new accessToken, it should pass on the accessToken to SDK through onSuccess. If any error occurred during this process, it must call onFail to let SDK know the status.

Constructors

AccessTokenRequester()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onFail() Future<void>
Call this method when failed to retrieve a new token.
onSuccess(String? newAccessToken) Future<void>
Call this method after retrieving a new token.
toString() String
A string representation of this object.
inherited

Operators

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