Abstract
Static
createStatic
getCalls the authorize URL with an iframe. If successful, it returns the callback URL with authentication code, optionally using PKCE. Method renamed in v3. Original Name: getAuthorizeUrl New Name: getAuthCodeByIframe
Static
getOAuth2Exchanges an authorization code for OAuth tokens.
Static
getGets OIDC user information.
Optional
options: ConfigOptionsStatic
endInvokes the OIDC end session endpoint.
Can result in a redirect to /signoff
if using PingOne
It's best to explicitly provide the logout redirect URL in options
Optional
options: LogoutOptions | EndSessionOptions{LogoutOptions} - an extension of ConfigOptions, but with two additional props
Static
revokeImmediately revokes the stored access token.
Optional
options: ConfigOptionsPrivate
Static
requestOptional
query: StringDict<undefined | string>Optional
includeToken: booleanOptional
init: RequestInitOptional
options: ConfigOptionsOptional
logoutOptions: { Optional
redirect?: booleanOptional
logoutPrivate
Static
containsPrivate
Static
containsPrivate
Static
getPrivate
Static
parsePrivate
Static
getOptional
query: StringDict<undefined | string>Optional
options: ConfigOptions
OAuth 2.0 client.