union

package
v0.0.0-...-b2a8ad6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(authTokenHandlers ...authenticator.Token) authenticator.Token

New returns a token authenticator that validates credentials using a chain of authenticator.Token objects. The entire chain is tried until one succeeds. If all fail, an aggregate error is returned.

func NewFailOnError

func NewFailOnError(authTokenHandlers ...authenticator.Token) authenticator.Token

NewFailOnError returns a token authenticator that validates credentials using a chain of authenticator.Token objects. The first error short-circuits the chain.

Types

This section is empty.

Jump to

Keyboard shortcuts

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