Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AuthWhiteList = map[string]string{ constants.ApiPathRoot + "/login": post, constants.ApiPathRoot + "/audit": post, constants.ApiPathRoot + "/key/token": get, constants.ApiPathRoot + "/authorization/access": post, constants.ApiPathRoot + "/oauth/redirect": get, constants.ApiPathRoot + "/user/pwd": put, constants.ApiPathRoot + "/user/valid/:username": get, constants.ApiPathRoot + "/clusters/register": post, }
Functions ¶
func Auth ¶
func Auth() gin.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.