Share via


LoginWithUsernamePasswordOptions interface

Describes optional parameters for username/password authentication.

Extends

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".

Inherited Properties

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

clientId

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

clientId?: string

Property Value

string

domain

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

domain?: string

Property Value

string

Inherited Property Details

environment

The Azure environment to authenticate with.

environment?: Environment

Property Value

Inherited From AzureTokenCredentialsOptions.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 AzureTokenCredentialsOptions.tokenAudience

tokenCache

The token cache. Default value is MemoryCache from adal.

tokenCache?: TokenCache

Property Value

TokenCache

Inherited From AzureTokenCredentialsOptions.tokenCache