Documentation ¶
Index ¶
- func Claims(in interface{}) jwtgo.Claims
- func GetField(claims jwtgo.MapClaims, fieldName string) string
- func GetGroups(mapClaims jwtgo.MapClaims) []string
- func GetID(m jwtgo.MapClaims) (string, error)
- 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 ¶ added in v0.11.0
GetIssuedAt returns the issued at as an int64
func GetScopeValues ¶ added in v1.0.0
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.