Skip to main content

Module token

Module token 

Source

Structs§

PublicKey
Ed25519 public key (32 bytes) for token verification.
VerifiedClaims
Verified claims from a PASETO token.

Functions§

extract_kid_from_token
Extract key ID from a PASETO token without verifying signature.
parse_public_key_hex
Parses a hex-encoded Ed25519 public key (32 bytes) into a PublicKey.
verify_v4_public_access_token
Verifies a PASETO v4.public access token.