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