package
0.0.8
Repository: https://github.com/romankravchuk/nix.git
Documentation: pkg.go.dev

# Functions

CreateToken creates a new JWT token with the given payload, time-to-live (ttl), and RSA private key.
ValidateToken validates a JWT token using the given RSA public key.

# Variables

ErrInvalidClaims is the error returned when the JWT claims are invalid.

# Structs

Claims represents the custom JWT claims along with standard registered claims.
Details represents the JWT token details, including the token itself, its payload, and expiration time.