authheader

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AuthCodeSuccess = iota
	AuthCodeRequire
	AuthCodeForbidden
)
View Source
const (
	HeaderAuthRequire = "WWW-Authenticate"
	HeaderAuthSend    = "Authorization"
	HeaderAuthReal    = "Basic realm=LDAP Authorization Required"
)

Variables

This section is empty.

Functions

func AuthForbidden

func AuthForbidden(c *ginsdk.Context, err error)

func AuthRequire

func AuthRequire(c *ginsdk.Context, err error)

Types

type AuthCode

type AuthCode uint8

Jump to

Keyboard shortcuts

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