TokenRequestContext Struct

Definition

Contains the details of an authentication token request.

public readonly struct TokenRequestContext
type TokenRequestContext = struct
Public Structure TokenRequestContext
Inheritance
TokenRequestContext

Constructors

TokenRequestContext(String[], String, String, String, Boolean, Boolean, String, Uri, String)

Creates a new TokenRequest with the specified scopes.

TokenRequestContext(String[], String)

Creates a new TokenRequest with the specified scopes.

Properties

Claims

Additional claims to be included in the token. See https://openid.net/specs/openid-connect-core-1_0-final.html#ClaimsParameter for more information on format and content.

IsCaeEnabled

Indicates whether to enable Continuous Access Evaluation (CAE) for the requested token.

IsProofOfPossessionEnabled

Indicates whether to enable Proof of Possession (PoP) for the requested token.

ParentRequestId

The ClientRequestId of the request requiring a token for authentication, if applicable.

ProofOfPossessionNonce

The nonce value required for PoP token requests. This is typically retrieved from the WWW-Authenticate header of a 401 challenge response. This is used in combination with ResourceRequestUri and ResourceRequestMethod to generate the PoP token.

ResourceRequestMethod

The HTTP method of the request. This is used in combination with ResourceRequestUri and ProofOfPossessionNonce to generate the PoP token.

ResourceRequestUri

The URI of the request. This is used in combination with ResourceRequestMethod and ProofOfPossessionNonce to generate the PoP token.

Scopes

The scopes required for the token.

TenantId

The tenantId to be included in the token request.

Applies to