Skip to main content

UseDPoPNonceError Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Common

UseDPoPNonceError Class

Subtype of OidcError that signals an RFC 9449 §8 nonce-challenge: the DPoP proof either omitted the nonce claim or carried a stale one, and the server is responding with use_dpop_nonce plus a fresh nonce the client must echo on the next attempt. The carried Nonce value travels out through the response formatter as the DPoP-Nonce HTTP header alongside the standard error envelope — the body shape stays {error, error_description}; the nonce rides on a header, not in the JSON.

public sealed record UseDPoPNonceError : Abblix.Oidc.Server.Common.OidcError, System.IEquatable<Abblix.Oidc.Server.Common.UseDPoPNonceError>

Inheritance System.ObjectOidcError → UseDPoPNonceError

Implements System.IEquatable<UseDPoPNonceError>

Constructors

UseDPoPNonceError(string) Constructor

Subtype of OidcError that signals an RFC 9449 §8 nonce-challenge: the DPoP proof either omitted the nonce claim or carried a stale one, and the server is responding with use_dpop_nonce plus a fresh nonce the client must echo on the next attempt. The carried Nonce value travels out through the response formatter as the DPoP-Nonce HTTP header alongside the standard error envelope — the body shape stays {error, error_description}; the nonce rides on a header, not in the JSON.

public UseDPoPNonceError(string Nonce);

Parameters

Nonce System.String

The fresh nonce the client should attach to the next DPoP proof.

Properties

UseDPoPNonceError.Nonce Property

The fresh nonce the client should attach to the next DPoP proof.

public string Nonce { get; init; }

Property Value

System.String