Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthClient ¶
func AuthClient() gin.HandlerFunc
func AuthRequired ¶
func AuthRequired() gin.HandlerFunc
Types ¶
type CustomClaims ¶
type CustomClaims struct {
Scope string `json:"scope"`
}
CustomClaims contains custom data we want from the token.
Click to show internal directories.
Click to hide internal directories.