Structs§
Enums§
- Token
Type - Token class. A signed claim, so a refresh path can reject an access token and vice-versa — without this, one per-user key signs both classes and an access token could be replayed as a refresh token.
Functions§
- generate_
jwt_ token - generate_
jwt_ token_ with_ uuid - unverified_
user_ id - Reads the
sub(user id) from a token WITHOUT verifying its signature. - verify_
jwt_ token