object for the MSAL UserAgentApplication instance
Method to manage the authority URL.
authority
setter for the authority URL
authority
Use when you want to obtain an access_token for your API via opening a popup window in the user's browser
Use when you want to obtain an access_token for your API by redirecting the user's browser window to the authorization endpoint.
Use this function to obtain a token before every call to the API / resource provider
MSAL return's a cached token when available Or it send's a request to the STS to obtain a new token using a hidden iframe.
Returns the signed in account (the account object is created at the time of successful login) or null when no state is found
Use to get a list of unique accounts in MSAL cache based on homeAccountIdentifier.
Get the current authority instance from the MSAL configuration object
authority instance
Use to get the current Configuration object in MSAL
Return boolean flag to developer to help inform if login is in progress
true/false
Use to get the post logout redirect uri configured in MSAL or null. Evaluates postLogoutredirectUri if its a function, otherwise simply returns its value.
post logout redirect URL
Use to get the redirect uri configured in MSAL or null. Evaluates redirectUri if its a function, otherwise simply returns its value.
redirect URL
Use when initiating the login process via opening a popup window in the user's browser
Use when initiating the login process by redirecting the user's browser to the authorization endpoint.
Use to log out the current user, and redirect the user to the postLogoutRedirectUri.
Default behaviour is to redirect the user to window.location.href
.
Generated using TypeDoc
UserAgentApplication class
Object Instance that the developer can use to make loginXX OR acquireTokenXX functions