package union
import "k8s.io/apiserver/pkg/authentication/token/union"
Index ¶
- func New(authTokenHandlers ...authenticator.Token) authenticator.Token
- func NewFailOnError(authTokenHandlers ...authenticator.Token) authenticator.Token
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.
Source Files ¶
union.go
- Version
- v0.18.12-rc.1
- Published
- Nov 12, 2020
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 2 seconds ago –
Tools for package owners.