The suggested lifetime of the token in minutes.
Returns a credential if the user has already signed in to access the given resource and is allowed to do so when using the given application id.
Returns the Credential if the user has already signed in to access the given resource.
Destroys all credentials.
Disables the use of window.postMessage
to serve authentication requests that were enabled by enablePostMessageAuth.
Emits an event on the instance.
Enables the IdentityManager to serve authentication requests for the given resource from apps running in child iframes.
Returns the Credential for the resource identified by the specified url.
Returns information about the server that is hosting the specified URL.
Returns an object containing a token and its expiration time.
Returns a Credential object that can be used to access the secured resource identified by the input URL.
Indicates whether there is an event listener on the instance that matches the provided event name.
Call this method during application initialization with the JSON previously obtained from the toJSON() method used to re-hydrate the state of IdentityManager.
Indicates if the IdentityManager is busy accepting user input.
Registers an event handler on the instance.
Registers OAuth 2.0 configurations.
Register secure servers and the token endpoints.
Registers the given OAuth 2.0 access token or ArcGIS Server token with the IdentityManager.
Once a user successfully logs in, they are redirected back to the application.
Use this method in the popup callback page to pass the token and other values back to the IdentityManager.
When accessing secured resources, the IdentityManager may prompt for username and password and send them to the server using a secure connection.
Return properties of this object in JSON format.
Generated using TypeDoc
Dialog box widget used to challenge the user for their credentials when the application attempts to access a secure resource.
Read more...