handlers

package
v2.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const WWWAuthenticateHeader = "WWW-Authenticate"
View Source
const WWWAuthenticateHeaderContents = "Bearer realm=\"\""

Variables

This section is empty.

Functions

func AuthMiddleware

func AuthMiddleware(c *gin.Context)

func HasOAuth2Token

func HasOAuth2Token(c *gin.Context)

func OAuth2Handler

func OAuth2Handler(requiredScope pufferpanel.Scope, requireServer bool) gin.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL