package
0.0.0-20241219170623-3accfd17e01c
Repository: https://github.com/kirklin/boot-backend-go-clean.git
Documentation: pkg.go.dev

# Functions

ExtractClaims extracts claims from a token string.
GenerateAccessToken generates an access token for a user.
GenerateRefreshToken generates a refresh token for a user.
GenerateTokenPair generates an access token and a refresh token for a user.
InitJWT initializes the JWT package with the necessary secrets and issuer.
IsAuthorized checks if a token is valid and not expired.
No description provided by the author
ValidateAccessToken validates an access token and returns the token claims.
ValidateRefreshToken validates a refresh token and returns the token claims.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author