simple

package
v0.0.0-...-44f170f Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Backend = "simple"

Backend name

Variables

This section is empty.

Functions

This section is empty.

Types

type Simple

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

Simple is the simplest backend for authentication, a name:password map

func (Simple) Authenticate

func (h Simple) Authenticate(r *http.Request) (bool, error)

Authenticate fulfils the backend interface

Jump to

Keyboard shortcuts

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