Expand description
DPoP (RFC 9449) proof-of-possession verifier.
Verifies the DPoP proof JWT in the DPoP header against the access
token’s cnf.jkt claim (RFC 9449 §4.2). Replay protection via
JtiTracker.
Verification steps (RFC 9449 §4.2 + RFC 7638):
- Parse the compact JWS; require 3 segments.
- Require header
typ == "dpop+jwt"andalgin the whitelist. - Extract the public key from header
jwk. Requirekty=OKP,crv=Ed25519,xis 32 base64url-encoded bytes. - Compute the JWK thumbprint per RFC 7638 and require it equals
expected_jkt(thecnf.jktvalue from the access token). - Verify the EdDSA signature over
header.payloadusing thejwk. - Verify
htm,htu,ath(SHA-256 base64url of the access token). - Verify
jtiuniqueness viaJtiTracker(SHA-256 keyed).
Structs§
- Dpop
Verifier - Verifies DPoP proof JWTs.
Traits§
- Async
Dpop Replay Store - Async replay-state port for stores that perform remote I/O.
- Dpop
Replay Store - Atomic replay-state port used by
DpopVerifier.