ProofError Class
Abblix.Oidc.Server
Abblix.Oidc.Server.Features.DPoP
ProofError Class
Describes why a DPoP proof was rejected. Reason is a stable token suitable for log filters and metric labels; Detail is a human-readable hint that MUST NOT contain attacker-controllable input verbatim, since this string can surface in error responses and operator dashboards.
public sealed record ProofError : System.IEquatable<Abblix.Oidc.Server.Features.DPoP.ProofError>
Inheritance System.Object → ProofError
Implements System.IEquatable<ProofError>
Constructors
ProofError(string, string) Constructor
Describes why a DPoP proof was rejected. Reason is a stable token suitable for log filters and metric labels; Detail is a human-readable hint that MUST NOT contain attacker-controllable input verbatim, since this string can surface in error responses and operator dashboards.
public ProofError(string Reason, string? Detail=null);
Parameters
Reason System.String
A stable, machine-friendly token (e.g. invalid_typ,
signature_invalid, htm_mismatch).
Detail System.String
Optional human-readable diagnostic.
Properties
ProofError.Detail Property
Optional human-readable diagnostic.
public string? Detail { get; init; }
Property Value
ProofError.Reason Property
A stable, machine-friendly token (e.g. invalid_typ,
signature_invalid, htm_mismatch).
public string Reason { get; init; }