Token Manager
Functions
Link copied to clipboard
Remove the stored AccessToken
Link copied to clipboard
abstract fun exchangeToken(token: SSOToken, additionalParameters: Map<String, String>, listener: FRListener<AccessToken>)
abstract fun exchangeToken(code: String, pkce: PKCE, additionalParameters: Map<String, String>, listener: FRListener<AccessToken>)
Sends an authorization request to the authorization service.
Link copied to clipboard
abstract fun getAccessToken(accessTokenVerifier: AccessTokenVerifier, tokenListener: FRListener<AccessToken>)
Get the AccessToken asynchronously, If the stored AccessToken is expired, auto refresh the token
Link copied to clipboard
Persist the AccessToken to storage
Link copied to clipboard
Refresh the AccessToken asynchronously, force token refresh, no matter the stored AccessToken is expired or not refresh the token and persist it.
Link copied to clipboard
OAuth2 Token Revocation