Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authorise ¶
func Authorise(scope string) gin.HandlerFunc
func ScopeUnwrap ¶
func ScopeUnwrap() gin.HandlerFunc
Types ¶
type CustomAuthClaims ¶
type CustomAuthClaims struct {
Scope string `json:"scope"`
}
Click to show internal directories.
Click to hide internal directories.