Class: config

config

new config()

Configuration options for Authentication Context.
Properties:
Name Type Description
tenant string Your target tenant.
clientId string Client ID assigned to your app by Azure Active Directory.
redirectUri string Endpoint at which you expect to receive tokens.Defaults to `window.location.href`.
instance string Azure Active Directory Instance.Defaults to `https://login.microsoftonline.com/`.
endpoints Array Collection of {Endpoint-ResourceId} used for automatically attaching tokens in webApi calls.
popUp Boolean Set this to true to enable login in a popup winodow instead of a full redirect.Defaults to `false`.
localLoginUrl string Set this to redirect the user to a custom login page.
displayCall function User defined function of handling the navigation to Azure AD authorization endpoint in case of login. Defaults to 'null'.
postLogoutRedirectUri string Redirects the user to postLogoutRedirectUri after logout. Defaults is 'redirectUri'.
cacheLocation string Sets browser storage to either 'localStorage' or sessionStorage'. Defaults to 'sessionStorage'.
anonymousEndpoints Array.<string> Array of keywords or URI's. Adal will not attach a token to outgoing requests that have these keywords or uri. Defaults to 'null'.
expireOffsetSeconds number If the cached token is about to be expired in the expireOffsetSeconds (in seconds), Adal will renew the token instead of using the cached token. Defaults to 300 seconds.
correlationId string Unique identifier used to map the request with the response. Defaults to RFC4122 version 4 guid (128 bits).
loadFrameTimeout number The number of milliseconds of inactivity before a token renewal response from AAD should be considered timed out.
Source: