PopTokenRequestContext Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new TokenRequest with the specified scopes.
public PopTokenRequestContext (string[] scopes, string? parentRequestId = default, string? claims = default, string? tenantId = default, bool isCaeEnabled = false, bool isProofOfPossessionEnabled = false, string? proofOfPossessionNonce = default, Azure.Core.Request? request = default);
new Azure.Core.PopTokenRequestContext : string[] * string * string * string * bool * bool * string * Azure.Core.Request -> Azure.Core.PopTokenRequestContext
Public Sub New (scopes As String(), Optional parentRequestId As String = Nothing, Optional claims As String = Nothing, Optional tenantId As String = Nothing, Optional isCaeEnabled As Boolean = false, Optional isProofOfPossessionEnabled As Boolean = false, Optional proofOfPossessionNonce As String = Nothing, Optional request As Request = Nothing)
Parameters
- scopes
- String[]
The scopes required for the token.
- parentRequestId
- String
The ClientRequestId of the request requiring a token for authentication, if applicable.
- claims
- String
Additional claims to be included in the token.
- tenantId
- String
The tenant ID to be included in the token request.
- isCaeEnabled
- Boolean
Indicates whether to enable Continuous Access Evaluation (CAE) for the requested token.
- isProofOfPossessionEnabled
- Boolean
Indicates whether to enable Proof of Possession (PoP) for the requested token.
- proofOfPossessionNonce
- String
The nonce value required for PoP token requests.
- request
- Request
The request to be authorized with a PoP token.
Applies to
Azure SDK for .NET