Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JWT ¶
type JWT interface {
ParseByToken(token string, dst any) error
NewToken(m map[string]any) (string, error)
IsBlacklist(token string) bool
AddBlacklist(token string)
Renewal(ctx context.Context) (string, error)
SetUnique(key, token string) error
CompareUniqueToken(key, token string) bool
Config() *Config
}
Click to show internal directories.
Click to hide internal directories.