Expand description
Lightweight JWT helpers for HS256 operations.
Enums§
- JwtError
- Errors for JWT operations.
Functions§
- build_
auth_ cookie - Build a Set-Cookie header value for an auth token.
- decode_
hs256 - Decode and validate an HS256 JWT, returning typed claims.
- encode_
hs256 - Encode a claims struct as an HS256 JWT.
- extract_
bearer_ token - Extract a Bearer token from an Authorization header value.