authheader

package
v1.13.5 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 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