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_unverified_kid
Extract key ID from a PASETO token without verifying the 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.
verify_v4_with_keyset
Verify a PASETO v4.public token against a [WellKnownPasetoDocument].