Authorization Manager
AuthorizationManager is a singleton object that manages the authorization state of the user. It provides methods to initialize the authorization manager, check if the user is authenticated, retrieve access tokens, refresh access tokens, and clear the authorization state.
AuthorizationManager uses a TokenManager to manage the access tokens and a Storage implementation to store the authorization state.
See also
Functions
Clears the state of the authorization.
Retrieves a fresh access token.
Retrieves the access token from the token manager.
Retrieves the expiration time of the access token.
Retrieves the ID token associated with the authenticated user.
Retrieves and parses the ID token from the token manager.
Initializes the authorization manager with the given configuration and optional storage.
Checks if the access token is expired.
Checks if the user is authenticated.
Retrieves the initialization status of the AuthorizationManager.
Creates an instance of the OAuthAuthorizationService using the provided context.
Reset the configuration.