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