GetTokenOptions interface

Defines options for TokenCredential.getToken.

Properties

abortSignal

The signal which can be used to abort requests.

claims

Claim details to perform the Continuous Access Evaluation authentication flow

requestOptions

Options used when creating and sending HTTP requests for this operation.

tenantId

Allows specifying a tenantId. Useful to handle challenges that provide tenant Id hints.

tracingOptions

Options used when tracing is enabled.

Property Details

abortSignal

The signal which can be used to abort requests.

abortSignal?: AbortSignalLike

Property Value

AbortSignalLike

claims

Claim details to perform the Continuous Access Evaluation authentication flow

claims?: string

Property Value

string

requestOptions

Options used when creating and sending HTTP requests for this operation.

requestOptions?: { timeout?: number }

Property Value

{ timeout?: number }

tenantId

Allows specifying a tenantId. Useful to handle challenges that provide tenant Id hints.

tenantId?: string

Property Value

string

tracingOptions

Options used when tracing is enabled.

tracingOptions?: { tracingContext?: TracingContext }

Property Value

{ tracingContext?: TracingContext }