package union

import "k8s.io/apiserver/pkg/authentication/request/union"

Index

Functions

func New

func New(authRequestHandlers ...authenticator.Request) authenticator.Request

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

func NewFailOnError

func NewFailOnError(authRequestHandlers ...authenticator.Request) authenticator.Request

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

Source Files

union.go

Version
v0.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
2 hours ago

Tools for package owners.