Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CustomClaims ¶
type CustomClaims struct {
Scope string `json:"scope"`
}
CustomClaims contains custom data we want from the token.
func (CustomClaims) HasScope ¶
func (c CustomClaims) HasScope(expectedScope string) bool
HasScope checks whether our claims have a specific scope.
Click to show internal directories.
Click to hide internal directories.