Share via


InteractiveLoginOptions interface

Describes optional parameters for interactive authentication.

Extends

Properties

language

The language code specifying how the message should be localized to. Default value "en-us".

userCodeResponseLogger

A logger that logs the user code response message required for interactive login. When this option is specified the usercode response message will not be logged to console.

Inherited Properties

clientId

The active directory application client id. See Active Directory Quickstart for .Net for an example.

domain

The domain or tenant Id containing this application. Default value is "common".

environment

The Azure environment to authenticate with.

tokenAudience

The audience for which the token is requested. Valid values are 'graph', 'batch', or any other resource like 'https://vault.azure.net/'. If tokenAudience is 'graph' then domain should also be provided and its value should not be the default 'common' tenant. It must be a string (preferably in a guid format).

tokenCache

The token cache. Default value is MemoryCache from adal.

Property Details

language

The language code specifying how the message should be localized to. Default value "en-us".

language?: string

Property Value

string

userCodeResponseLogger

A logger that logs the user code response message required for interactive login. When this option is specified the usercode response message will not be logged to console.

userCodeResponseLogger?: any

Property Value

any

Inherited Property Details

clientId

The active directory application client id. See Active Directory Quickstart for .Net for an example.

clientId?: string

Property Value

string

Inherited From LoginWithUsernamePasswordOptions.clientId

domain

The domain or tenant Id containing this application. Default value is "common".

domain?: string

Property Value

string

Inherited From LoginWithUsernamePasswordOptions.domain

environment

The Azure environment to authenticate with.

environment?: Environment

Property Value

Inherited From LoginWithUsernamePasswordOptions.environment

tokenAudience

The audience for which the token is requested. Valid values are 'graph', 'batch', or any other resource like 'https://vault.azure.net/'. If tokenAudience is 'graph' then domain should also be provided and its value should not be the default 'common' tenant. It must be a string (preferably in a guid format).

tokenAudience?: TokenAudience

Property Value

Inherited From LoginWithUsernamePasswordOptions.tokenAudience

tokenCache

The token cache. Default value is MemoryCache from adal.

tokenCache?: TokenCache

Property Value

TokenCache

Inherited From LoginWithUsernamePasswordOptions.tokenCache