StaticdecodeThe OAuth2 access token as a base64 encoded string
The claims inside the payload of the token as a JSON object. See e.g. standard claims for the standard claims of an openid token.
StaticgetAcquires an access token using the OAuth2 authorization code flow.
The OAuth2 configuration object containing the Infinity server URL, client ID, client secret and optionally the pkce flag, the appId and the authService.
A Promise that resolves to a TokenInfo object containing the acquired access token.
StaticgetAcquires an access token using the OAuth2 client credentials flow.
The OAuth2 configuration object containing the Infinity server URL, client ID, client secret, username, and password.
A Promise that resolves to a TokenInfo object containing the acquired access token.
StaticrefreshRefreshes an access token using an existing refresh_token and the token endpoint
The OAuth2 configuration object containting the clientId, accessTokenUrl and refreshToken
A Promise that resolves to a TokenInfo object containing the refreshed access token.
StaticrevokeRevokes an active access token
The OAuth2 configuration object that was originally used for retrieving the access token
A Promise that resolves when the token is revoked
Decodes the operator information stored in the JWT token.