Documentation ¶
Index ¶
- func Claims(in interface{}) jwt.Claims
- func GetField(claims jwt.MapClaims, fieldName string) string
- func GetIssuedAt(m jwt.MapClaims) (int64, error)
- func GetScopeValues(claims jwt.MapClaims, scopes []string) []string
- func IsMember(claims jwt.Claims, groups []string) bool
- func MapClaims(claims jwt.Claims) (jwt.MapClaims, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIssuedAt ¶
GetIssuedAt returns the issued at as an int64
func GetScopeValues ¶
GetScopeValues extracts the values of specified scopes from the claims
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.