AuthOptions interface
Properties
| client |
The ID of the Azure AD app registration to authenticate with. |
| environment | The environment to use for authentication. Defaults to Environment.AzureCloud. |
| pop |
Set this to true to enable login in a popup window instead of a full redirect. Defaults to |
| redirect |
The location to return to after acquiring a token via redirect. Defaults to window.location.href. |
| resource | The resource to authenticate to. Defaults to environment.resourceManagerEndpointUrl. |
| tenant | The tenant to authenticate to. Defaults to "common". |
Property Details
clientId
The ID of the Azure AD app registration to authenticate with.
clientId: string
Property Value
string
environment
The environment to use for authentication. Defaults to Environment.AzureCloud.
environment?: Environment
Property Value
popUp
Set this to true to enable login in a popup window instead of a full redirect. Defaults to false.
popUp?: boolean
Property Value
boolean
redirectUri
The location to return to after acquiring a token via redirect. Defaults to window.location.href.
redirectUri?: string
Property Value
string
resource
The resource to authenticate to. Defaults to environment.resourceManagerEndpointUrl.
resource?: string
Property Value
string
tenant
The tenant to authenticate to. Defaults to "common".
tenant?: string
Property Value
string