Static
decodeJWTThe 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.
Static
getAcquires 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.
Static
getAcquires 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.
Decodes the operator information stored in the JWT token.