package
0.0.0-20240404083532-6f24f9c84e16
Repository: https://github.com/pillarion/practice-auth.git
Documentation: pkg.go.dev
# Functions
GenerateJWT generates a JWT token for the given user with the specified secret, duration, and token variant.
VerifyJWT verifies the JWT token with the provided secret and token variant.
# Constants
JWTAccessTokenVariant is the variant of the access token.
JWTRefreshTokenVariant is the variant of the refresh token.