authenticator

package
Version: v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Assertion

type Assertion interface {
	AuthenticateAssertion(assertionType, data string) (user.Info, bool, error)
}

type Client

type Client interface {
	AuthenticateClient(client api.Client) (user.Info, bool, error)
}

type Password

type Password interface {
	AuthenticatePassword(user, password string) (user.Info, bool, error)
}

type Request

type Request interface {
	AuthenticateRequest(req *http.Request) (user.Info, bool, error)
}

type RequestFunc added in v0.2.1

type RequestFunc func(req *http.Request) (user.Info, bool, error)

func (RequestFunc) AuthenticateRequest added in v0.2.1

func (f RequestFunc) AuthenticateRequest(req *http.Request) (user.Info, bool, error)

type Token

type Token interface {
	AuthenticateToken(token string) (user.Info, bool, error)
}

Source Files

Directories

Path Synopsis
challenger
password
basicauthpassword
Package basicauthpassword implements authenticator.Password by making a BasicAuth call to a remote endpoint and extracting user information from a JSON response.
Package basicauthpassword implements authenticator.Password by making a BasicAuth call to a remote endpoint and extracting user information from a JSON response.
keystonepassword
Package keystone provide authentication via keystone.
Package keystone provide authentication via keystone.
request
x509request
Package x509request provides a request authenticator that validates and extracts user information from client certificates
Package x509request provides a request authenticator that validates and extracts user information from client certificates
token

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL