package
0.0.0-20241211160604-a70b019e050a
Repository: https://github.com/maxzhirnov/go-task-manager.git
Documentation: pkg.go.dev

# Functions

GenerateJWT creates a new JWT access token for a user.
GenerateRefreshToken creates a new JWT refresh token for a user.
JWTAuthMiddleware provides JWT authentication for HTTP endpoints.
ValidateJWT validates an access token and extracts its claims.
ValidateRefreshToken validates a refresh token and extracts its claims.

# Structs

Claims represents the custom JWT claims structure used for both access and refresh tokens.