authenticator

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2014 License: Apache-2.0 Imports: 2 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) (api.UserInfo, bool, error)
}

type Client

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

type Password

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

type Request

type Request interface {
	AuthenticateRequest(req *http.Request) (api.UserInfo, bool, error)
}

type Token

type Token interface {
	AuthenticateToken(token string) (api.UserInfo, bool, error)
}

Directories

Path Synopsis
Implements authenticator.Password by making a BasicAuth call to a remote endpoint, and extracting user information from a JSON response.
Implements authenticator.Password by making a BasicAuth call to a remote endpoint, and extracting user information from a JSON response.

Jump to

Keyboard shortcuts

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