basic

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package basic provides HTTP Basic Auth services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPBasicAuth

type HTTPBasicAuth struct{}

HTTPBasicAuth provides HTTP Basic Auth

func (*HTTPBasicAuth) Authenticate

func (a *HTTPBasicAuth) Authenticate(w http.ResponseWriter, r *http.Request) (*authdb.UserContext, error)

Authenticate authenticates a request against a user store using HTTP Basic Auth.

func (*HTTPBasicAuth) MethodName

func (a *HTTPBasicAuth) MethodName() string

MethodName returns "default"

Jump to

Keyboard shortcuts

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