Experimental
The OIDC issuer as returned by the /auth_issuer API
id of this client as registered with the OP
redirectUri as registered with OP
Device ID of current session
idTokenClaims as returned from authorization grant used to validate tokens
Private
Readonly
ididTokenClaims as returned from authorization grant used to validate tokens
Private
Optional
inflightPrivate
oidcReadonly
oidcPromise which will complete once the OidcClient has been initialised and is ready to start refreshing tokens.
Will reject if the client initialisation fails.
Attempt token refresh using given refresh token
refresh token to use in request with token issuer
tokens - Promise that resolves with new access and refresh tokens
when token refresh fails
Private
getPrivate
initialisePersist the new tokens, called after tokens are successfully refreshed.
This function is intended to be overriden by the consumer when persistence is necessary.
new access token
Optional
refreshOPTIONAL new refresh token
Generated using TypeDoc
Class responsible for refreshing OIDC access tokens
Client implementations will likely want to override persistTokens to persist tokens after successful refresh