basicauth

package
v0.13.14 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNoCreds is returned when no basic auth credentials are defined
	ErrNoCreds = basicauth.ErrNoCreds

	// ErrAuthFail is returned when the client fails basic authentication
	ErrAuthFail = basicauth.ErrAuthFail
)
View Source
var Middleware = basicauth.Middleware

Middleware enables basic authentication

Deprecated: use github.com/gobuffalo/mw-basicauth#Middleware instead.

Functions

This section is empty.

Types

type Authorizer deprecated

type Authorizer = basicauth.Authorizer

Authorizer is used to authenticate the basic auth username/password. Should return true/false and/or an error.

Deprecated: use github.com/gobuffalo/mw-basicauth#Authorizer instead.

Jump to

Keyboard shortcuts

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