Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Jwt ¶
type Jwt interface {
NewToken(m map[string]any) (string, error)
Parse(ctx context.Context, dst any) error
ParseMapClaims(ctx context.Context) (map[string]any, error)
IsWhitelist(path string) bool
IsBlacklist(token string) bool
AddBlacklist(token string)
GetToken(ctx context.Context) string
Renewal(ctx context.Context) (string, error)
}
Click to show internal directories.
Click to hide internal directories.