Module rmoods_backend::auth::jwt

source ·

Structs§

Functions§

  • Create a new JWT based on the secret defined in the environment.
  • Decode given JWT, verifing it at the same time. Return the decoded token data.