Optional
redirectNavigator: INavigatorOptional
popupNavigator: INavigatorOptional
iframeNavigator: INavigatorGet object used to register for events raised by the UserManager
.
Get object used to access the metadata configuration of the identity provider.
Removes 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
Optional
httpMethod: stringOptional, defaults to "GET"
Optional
nonce: 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.
If true
, the UserLoaded
event will be raised. Defaults to false.
A promise
Query OP for user's current signin status.
A promise object with session_state and subject identifier.
Remove from any storage the currently authenticated user.
A promise
Optional
types: ("access_token" | "refresh_token")[]Process any response (callback) from the authorization endpoint, by dispatching the request_type and executing one of the following functions:
Trigger a request (via a popup window) to the authorization endpoint.
A promise containing the authenticated User
.
Notify the opening window of response (callback) from the authorization endpoint. It is recommended to use UserManager.signinCallback instead.
A promise
Trigger a redirect of the current window to the authorization endpoint.
A promise
Process the response (callback) from the authorization endpoint. It is recommended to use UserManager.signinCallback instead.
A promise containing the authenticated User
.
Trigger the signin with user/password.
A promise containing the authenticated User
.
ErrorResponse In cases of wrong authentication.
Trigger a silent request (via refresh token or an iframe) to the authorization endpoint.
A promise that contains the authenticated User
.
Notify the parent window of response (callback) from the authorization endpoint. It is recommended to use UserManager.signinCallback instead.
A promise
Process any response (callback) from the end session endpoint, by dispatching the request_type and executing one of the following functions:
Trigger a redirect of a popup window to the end session endpoint.
A promise
Process response (callback) from the end session endpoint from a popup window. It is recommended to use UserManager.signoutCallback instead.
A promise
Trigger a redirect of the current window to the end session endpoint.
A promise
Process response (callback) from the end session endpoint. It is recommended to use UserManager.signoutCallback instead.
A promise containing signout response
Trigger a silent request (via an iframe) to the end session endpoint.
A promise
Notify the parent window of response (callback) from the end session endpoint. It is recommended to use UserManager.signoutCallback instead.
A promise
Enables silent renew for the UserManager
.
Disables silent renew for the UserManager
.
Provides a higher level API for signing a user in, signing out, managing the user's claims returned from the identity provider, and managing an access token returned from the identity provider (OAuth2/OIDC).