Class DPoPProofValidationResult
- Namespace
- Auth0.AspNetCore.Authentication.Api.DPoP
- Assembly
- Auth0.AspNetCore.Authentication.Api.dll
Represents the result of validating a DPoP proof. Contains error information, validated claims, and key details.
public class DPoPProofValidationResult
- Inheritance
-
DPoPProofValidationResult
- Inherited Members
Properties
AccessTokenHash
The hash of the access token, if present in the DPoP proof.
public string? AccessTokenHash { get; set; }
Property Value
Error
The error code if validation failed, otherwise null.
public string? Error { get; }
Property Value
ErrorDescription
A human-readable description of the error, if any.
public string? ErrorDescription { get; }
Property Value
HasError
Indicates whether an error occurred during DPoP proof validation.
public bool HasError { get; }
Property Value
JsonWebKey
The JSON Web Key (JWK) used in the DPoP proof, if available.
public string? JsonWebKey { get; set; }
Property Value
JsonWebKeyThumbprint
The thumbprint of the JSON Web Key, if available.
public string? JsonWebKeyThumbprint { get; set; }
Property Value
ProofClaims
Claims extracted from the validated DPoP proof.
public IDictionary<string, object>? ProofClaims { get; }
Property Value
Methods
SetError(string?, string?)
Sets the error state and details for the validation result.
public void SetError(string? error, string? description)