Documentation ¶
Index ¶
Constants ¶
View Source
const WWWAuthenticateHeader = "WWW-Authenticate"
View Source
const WWWAuthenticateHeaderContents = "Bearer realm=\"\""
Variables ¶
This section is empty.
Functions ¶
func AuthMiddleware ¶
func HasOAuth2Token ¶
func OAuth2Handler ¶
func OAuth2Handler(requiredScope pufferpanel.Scope, requireServer bool) gin.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.