Structs§
- Decoded
JweToken - JWE Decoded token data
- Decoded
Token - JWT Decoded token data
- Encode
Options - Advanced encode options for JWT token
- Hs256
Verifier - Precomputed material for fast HS256 signature verification.
- Verify
Options - Advanced verification options for JWT token
Enums§
- JweContent
Encryption - JWE content encryption algorithms supported
- JweKey
Management - JWE key management algorithms supported.
- JwtError
- Error types for JWT operations
- KeyData
- Encoding key types for JWT
- Token
Type - Token type enumeration
- Verify
KeyData - Verification key types for JWT
Functions§
- decode
- Decode a JWT token without verifying its signature
- decode_
jwe - Decode a JWE token without decrypting its payload
- decrypt_
jwe - Attempt to decrypt JWE token with a candidate key (for brute forcing)
- decrypt_
jwe_ with_ josekit - Decrypt JWE token using josekit (supports all key management algorithms)
- detect_
jwe_ misconfigurations - Detect potential JWE misconfigurations
- detect_
token_ type - Detect the type of token (JWT vs JWE)
- encode
- Encode JSON claims into a JWT token with default options
- encode_
jwe - Encode payload as JWE token using josekit
- encode_
jwe_ demo Deprecated - Create a simple JWE token for demonstration purposes
- encode_
with_ options - Encode JSON claims into a JWT token with advanced options
- prepare_
hs256_ verifier - Build an
Hs256Verifierfrom a JWT. - verify
- Verify a JWT token with a given secret
- verify_
with_ options - Verify a JWT token with advanced options