Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadAuthSchemes ¶
func LoadAuthSchemes(cfg map[string]config.AuthScheme) (map[string]AuthScheme, error)
Types ¶
type AuthScheme ¶
type AuthScheme interface {
Authorized(request *http.Request, response http.ResponseWriter) bool
}
Click to show internal directories.
Click to hide internal directories.