Documentation ¶
Index ¶
- func Claims(in interface{}) jwtgo.Claims
- func GetField(claims jwtgo.MapClaims, fieldName string) string
- func GetIssuedAt(m jwtgo.MapClaims) (int64, error)
- func GetScopeValues(claims jwtgo.MapClaims, scopes []string) []string
- func IsMember(claims jwtgo.Claims, groups []string) bool
- func MapClaims(claims jwtgo.Claims) (jwtgo.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.