krb5

package module
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: MIT Imports: 14 Imported by: 2

README

Kerberos 5 auth package for stdhttp

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(http *stdhttp.HTTP) (err error)

Add --

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, err error)

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

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