Versions in this module Expand all Collapse all v0 v0.0.1 Apr 16, 2024 Changes in this version + func Compare(hashedPassword, password string) error + func Encrypt(source string) (string, error) + type Authenticator interface + Destroy func(ctx context.Context, accessToken string) error + ParseClaims func(ctx context.Context, accessToken string) (*jwt.RegisteredClaims, error) + Release func() error + Sign func(ctx context.Context, userID string) (IToken, error) + type IToken interface + EncodeToJSON func() ([]byte, error) + GetExpiresAt func() int64 + GetToken func() string + GetTokenType func() string