PopTokenRequestContext Struct

Definition

Contains the details of an authentication token request.

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

Constructors

PopTokenRequestContext(String[], String, String, String, Boolean, Boolean, String, Request)

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.

HttpMethod

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

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 teh WWW-Authenticate header of a 401 challenge response. This is used in combination with Uri and HttpMethod to generate the PoP token.

Scopes

The scopes required for the token.

TenantId

The tenant ID to be included in the token request.

Uri

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

Methods

FromTokenRequestContext(TokenRequestContext, Request, Nullable<Boolean>)
ToTokenRequestContext()

Creates a new TokenRequestContext from this instance.

Operators

Implicit(PopTokenRequestContext to TokenRequestContext)

Creates a new TokenRequestContext from this instance.

Applies to