GetTokenOptions interface
Defines options for TokenCredential.getToken.
Properties
abort |
The signal which can be used to abort requests. |
claims | Claim details to perform the Continuous Access Evaluation authentication flow |
enable |
Indicates whether to enable the Continuous Access Evaluation authentication flow |
proof |
Options for Proof of Possession token requests |
request |
Options used when creating and sending HTTP requests for this operation. |
tenant |
Allows specifying a tenantId. Useful to handle challenges that provide tenant Id hints. |
tracing |
Options used when tracing is enabled. |
Property Details
abortSignal
The signal which can be used to abort requests.
abortSignal?: AbortSignalLike
Property Value
claims
Claim details to perform the Continuous Access Evaluation authentication flow
claims?: string
Property Value
string
enableCae
Indicates whether to enable the Continuous Access Evaluation authentication flow
enableCae?: boolean
Property Value
boolean
proofOfPossessionOptions
Options for Proof of Possession token requests
proofOfPossessionOptions?: { nonce: string, resourceRequestMethod: HttpMethods, resourceRequestUrl: string }
Property Value
{ nonce: string, resourceRequestMethod: HttpMethods, resourceRequestUrl: 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 }