Interface IDpopNonceProvider

Assembly: redb.Identity.Core.dll

Z4 P2 (RFC 9449 §8): provider of server-issued DPoP nonces. Implementations may be
stateless (HMAC-signed timestamps) or stateful (Redis/redb). The default registered
implementation is — stateless, lock-free, and
safe to use in single-process deployments. For a clustered Identity tier set
to a shared value so any server can
validate nonces issued by any other.

public interface IDpopNonceProvider

Methods

IssueNonce()

Issues a fresh nonce string suitable for the DPoP-Nonce header.

string IssueNonce()

ValidateNonce(string)

Returns true when the supplied nonce is well-formed, signature-valid

bool ValidateNonce(string nonce)