Documentation ¶
Index ¶
Constants ¶
View Source
const (
AllAccessScope = "ALL_ACCESS"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataWrapper ¶
type DataWrapper struct {
Data AuthData `json:"data"`
}
type MiddlewareComponent ¶
type MiddlewareComponent interface { Auth(scopes ...string) gin.HandlerFunc Cors() gin.HandlerFunc }
func NewMiddlewareComponent ¶
func NewMiddlewareComponent(config MiddlewareConfig) MiddlewareComponent
type MiddlewareConfig ¶
Click to show internal directories.
Click to hide internal directories.