Module pasetors::local

source ·
Available on crate features std and v4 only.
Expand description

PASETO local tokens with version4, using claims::Claims.

Functions§

  • Verify a local token using the latest PASETO version (v4). If verification passes, validate the claims according to the validation_rules.
  • Create a local token using the latest PASETO version (v4).