OAuth Authorization Service
OAuthAuthorizationService class is responsible for handling OAuth authorization and authorization process. It provides methods to authorize the user, handle the redirect intent, fetch user information, perform logout, retrieve fresh access token, and get the authorization service.
Properties
Additional scopes to be requested during authorization. Default is empty.
Boolean value indicating whether unsecure connections are allowed.
The URL of the FusionAuth server.
The token manager to handle token storage and retrieval, or null if not used.
Functions
Authorizes the user using OAuth authorization.
Retrieves a fresh access token.
Retrieves the user information for the authenticated user.
Handles the redirect intent from the authorization process.
Checks if the authorization process has succeeded by examining the given intent.
Checks if the authorization process has been cancelled by examining the given intent.
Checks if the logout process has succeeded by examining the given intent.
Log out the user.