Versions in this module Expand all Collapse all v0 v0.0.5 Apr 12, 2021 Changes in this version + func GenerateRefreshToken(c *fiber.Ctx, username string) + type Generator interface + Generate func(indent string, expire time.Duration) (token string, err error) + type JWTKeyPair struct + func NewJWTManager(privateKeyFile, publicKeyFile string) (m *JWTKeyPair, err error) + func (m *JWTKeyPair) Generate(ident string, expire time.Duration) (token string, err error) + func (m *JWTKeyPair) Validate(token string) (ident string, err error) + type Validator interface + Validate func(token string) (indent string, err error) v0.0.4 Apr 6, 2021