Protected Readonly_clientProtected Readonly_eventsProtected Readonly_iframeProtected Readonly_loggerProtected Readonly_popupProtected Readonly_redirectProtected Readonly_sessionProtected Readonly_silentReadonlysettingsProtected_userGet object used to register for events raised by the UserManager.
Get object used to access the metadata configuration of the identity provider.
Protected_buildOptionalverifySub: stringProtected_loadProtected_revokeOptionaltypes: ("access_token" | "refresh_token")[]Protected_signinOptionalverifySub: stringProtected_signinOptionalverifySub: stringProtected_signinProtected_signoutProtected_signoutProtected_signoutProtected_useRemoves stale state entries in storage for incomplete authorize requests.
Dynamically generates a DPoP proof for a given user, URL and optional Http method. This method is useful when you need to make a request to a resource server with fetch or similar, and you need to include a DPoP proof in a DPoP header.
The URL to generate the DPoP proof for
The user to generate the DPoP proof for
OptionalhttpMethod: stringOptional, defaults to "GET"
Optionalnonce: stringOptional nonce provided by the resource server
A promise containing the DPoP proof or undefined if DPoP is not enabled/no user is found.
Load the User object for the currently authenticated user.
A promise
Query OP for user's current signin status.
Optionalargs: QuerySessionStatusArgsA promise object with session_state and subject identifier.
Remove from any storage the currently authenticated user.
A promise
Optionaltypes: ("access_token" | "refresh_token")[]Process any response (callback) from the authorization endpoint, by dispatching the request_type and executing one of the following functions:
Optionalurl: stringTrigger a silent request (via refresh token or an iframe) to the authorization endpoint.
Optionalargs: SigninSilentArgsA promise that contains the authenticated User.
Process any response (callback) from the end session endpoint, by dispatching the request_type and executing one of the following functions:
Optionalurl: stringOptionalkeepOpen: booleanTrigger a redirect of a popup window to the end session endpoint.
Optionalargs: SignoutPopupArgsA promise
Trigger a redirect of the current window to the end session endpoint.
Optionalargs: SignoutRedirectArgsA promise
Trigger a silent request (via an iframe) to the end session endpoint.
Optionalargs: SignoutSilentArgsA promise
Enables silent renew for the UserManager.
Disables silent renew for the UserManager.
Get the settings used to configure the
UserManager.