Class DPoPProofValidatonContext
- Namespace
- Duende.IdentityServer.Validation
- Assembly
- Duende.IdentityServer.dll
Models the context for validaing DPoP proof tokens.
public class DPoPProofValidatonContext
- Inheritance
-
DPoPProofValidatonContext
- Inherited Members
Constructors
DPoPProofValidatonContext()
public DPoPProofValidatonContext()
Properties
AccessToken
The access token to validate if ValidateAccessToken is set
public string? AccessToken { get; set; }
Property Value
ClientClockSkew
Clock skew used in validating the DPoP proof token 'iat' claim value. Defaults to 5 minutes.
public TimeSpan ClientClockSkew { get; set; }
Property Value
ExpirationValidationMode
Enum setting to control validation for the DPoP proof token expiration. This supports both the client generated 'iat' value and/or the server generated 'nonce' value. Defaults to only using the 'iat' value.
public DPoPTokenExpirationValidationMode ExpirationValidationMode { get; set; }
Property Value
- DPoPTokenExpirationValidationMode
Method
The HTTP method to validate
public string Method { get; set; }
Property Value
ProofToken
The DPoP proof token to validate
public string ProofToken { get; set; }
Property Value
Url
The HTTP URL to validate
public string Url { get; set; }
Property Value
ValidateAccessToken
If the access token should also be validated
public bool ValidateAccessToken { get; set; }