ident

package
v2.20.4 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMalformedAuth      = errors.New("malformed authorization content")
	ErrUnavailableService = errors.New("unavailable ident service")
	ErrInvalidCredentials = errors.New("invalid credentials")
	ErrTooLongPassword    = errors.New("password is too long, limit is 72 bytes")
)

Functions

This section is empty.

Types

type Provider

type Provider interface {
	IsMatching(string) bool
	GetUser(context.Context, string) (model.User, error)
	OnError(http.ResponseWriter, *http.Request, error)
}

Provider provides methods for dealing with identification

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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