Documentation ¶
Index ¶
Constants ¶
View Source
const ( HTTPHeaderOperator = "Operator" HTTPHeaderSignature = "Signature" HTTPHeaderContentMD5 = "Content-MD5" HTTPHeaderContentType = "Content-Type" HTTPHeaderDate = "Date" NotAuthHeader = "X-OIDC-Redirect-To" )
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶
func Middleware(param *param.Param, store sessions.Store, config *coreconfig.Config, skippers ...middleware.Skipper) gin.HandlerFunc
Middleware check user is exists in db. If not, add user into db. Then attach a User object into context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.