Share via


AzureTokenCredentialsOptions interface

Describes optional parameters for servicePrincipal/secret authentication.

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

environment

The Azure environment to authenticate with.

environment?: Environment

Property Value

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

tokenCache

The token cache. Default value is MemoryCache from adal.

tokenCache?: TokenCache

Property Value

TokenCache