Expand description
RFC 9449 DPoP (Demonstrating Proof-of-Possession) proof verification.
Verifies DPoP JWT proofs presented at the token endpoint or as
Authorization: DPoP on resource requests.
DPoP proofs carry:
jwkin the header — the ephemeral client key (used to verify signature)htm— HTTP methodhtu— HTTP URI (scheme + host + path, no query)iat— issued-at (must be within ±60s of server clock)jti— unique identifier (replay prevention)ath— base64url(SHA-256(access_token)) — required when the proof accompanies an access token on a resource request
Supported algorithms:
- EdDSA (Ed25519) — native hyprstream identity keys
- ES256 (ECDSA P-256 + SHA-256) — atproto interop (required by atproto OAuth)
Structs§
- Dpop
Proof - Parsed and verified DPoP proof.
Enums§
Functions§
- verify_
dpop_ proof - Verify a DPoP proof JWT string.