Expand description
The narrow interface every caller needs from DPoP verification (RFC 9449).
crate::oauth::dpop does the proof checking, nonce issuance, replay
cache and thumbprints. Its verifier implements DpopVerifier, and
OAuthState::default wires it in. The rest of this crate holds the
verifier through this trait.
RefusingDpopVerifier refuses every proof. Tests use it to check that
token exchange refuses rather than mints an unbound token.
Structs§
- Dpop
Thumbprint - The output of a successful DPoP proof check: the JWK thumbprint (RFC 7638) the proof’s key hashes to, which is what a minted access token is bound to and what a later resource request’s own proof must match.
- Refusing
Dpop Verifier - A verifier that refuses every proof, unconditionally.
- Verified
Proof - A proof that checked out, and what
DpopVerifier::acceptneeds to record it against replay.
Enums§
- Dpop
Error - Why a presented DPoP proof was not accepted.
Traits§
- Dpop
Verifier - What the OAuth routes and the resource routes need to bind a request to a client’s key.