TokenRequestContext
Contains the details of an authentication token request.
            
                
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.
            
Indicates whether to enable Continuous Access Evaluation (CAE) for the requested token.
            
Indicates whether to enable Proof of Possession (PoP) for the requested token.
            
The  ClientRequestId of the request requiring a token for authentication, if applicable.
            
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.
            
The HTTP method of the request. This is used in combination with  ResourceRequestUri and  ProofOfPossessionNonce to generate the PoP token.
            
The URI of the request. This is used in combination with  ResourceRequestMethod and  ProofOfPossessionNonce to generate the PoP token.
            
The scopes required for the token.
            
The tenantId to be included in the token request.
            
Creates a new TokenRequest with the specified scopes.
            
Creates a new TokenRequest with the specified scopes.
            
Creates a new TokenRequest with the specified scopes.
            
public TokenRequestContext(string[] scopes, string parentRequestId, string claims, string tenantId, bool isCaeEnabled)
Creates a new TokenRequest with the specified scopes.
            
public TokenRequestContext(string[] scopes, string parentRequestId = null, string claims = null, string tenantId = null, bool isCaeEnabled = false, bool isProofOfPossessionEnabled = false, string proofOfPossessionNonce = null, Uri requestUri = null, string requestMethod = null)
Creates a new TokenRequest with the specified scopes.