package
Version:
v2.1.0
Opens a new window with list of versions in this module.
Published: Mar 11, 2026
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GenerateToken creates a signed JWT for the given user ID.
Reads JWT_SECRET and JWT_EXPIRY (seconds) from environment.
ValidateToken parses and validates a JWT string.
Returns the claims if the token is valid.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.