authenticator

package
v3.9.0-0.9.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2017 License: Apache-2.0 Imports: 4 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 OAuthTokenValidator

type OAuthTokenValidator interface {
	Validate(token *oauth.OAuthAccessToken, user *userapi.User) error
}

type OAuthTokenValidatorFunc

type OAuthTokenValidatorFunc func(token *oauth.OAuthAccessToken, user *userapi.User) error

func (OAuthTokenValidatorFunc) Validate

func (f OAuthTokenValidatorFunc) Validate(token *oauth.OAuthAccessToken, user *userapi.User) error

type OAuthTokenValidators

type OAuthTokenValidators []OAuthTokenValidator

func (OAuthTokenValidators) Validate

func (v OAuthTokenValidators) Validate(token *oauth.OAuthAccessToken, user *userapi.User) error

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

Jump to

Keyboard shortcuts

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