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.
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.
Query OP for user's current signin status.
A promise object with session_state and subject identifier.
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
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).