basic

package
v0.1.72 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthHandler

type AuthHandler struct {
	// contains filtered or unexported fields
}

AuthHandler --

func (*AuthHandler) Check

func (ah *AuthHandler) Check(id uint64, prefix string, path string, w http.ResponseWriter, r *http.Request) (identity *auth.Identity, tryNext bool)

Check --

func (*AuthHandler) Enabled

func (ah *AuthHandler) Enabled() bool

Enabled --

func (*AuthHandler) Init

func (ah *AuthHandler) Init(cfg *config.Listener) (err error)

Init --

func (*AuthHandler) Score added in v0.1.66

func (ah *AuthHandler) Score() int

Score --

func (*AuthHandler) WWWAuthHeader

func (ah *AuthHandler) WWWAuthHeader() (name string, withRealm bool)

WWWAuthHeader --

Jump to

Keyboard shortcuts

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