kubernetes/staging/src/k8s.io/apiserver/pkg/authentication/request/headerrequest/requestheader.go

type StringSliceProvider

type StringSliceProviderFunc

// Value returns the current string slice.  Callers should never mutate the returned value.
func (d StringSliceProviderFunc) Value() []string {}

type StaticStringSlice

// Value returns the current string slice.  Callers should never mutate the returned value.
func (s StaticStringSlice) Value() []string {}

type requestHeaderAuthRequestHandler

func New(nameHeaders, uidHeaders, groupHeaders, extraHeaderPrefixes []string) (authenticator.Request, error) {}

func NewDynamic(nameHeaders, uidHeaders, groupHeaders, extraHeaderPrefixes StringSliceProvider) authenticator.Request {}

func trimHeaders(headerNames ...string) ([]string, error) {}

func NewDynamicVerifyOptionsSecure(verifyOptionFn x509request.VerifyOptionFunc, proxyClientNames, nameHeaders, uidHeaders, groupHeaders, extraHeaderPrefixes StringSliceProvider) authenticator.Request {}

func (a *requestHeaderAuthRequestHandler) AuthenticateRequest(req *http.Request) (*authenticator.Response, bool, error) {}

func ClearAuthenticationHeaders(h http.Header, nameHeaders, uidHeaders, groupHeaders, extraHeaderPrefixes StringSliceProvider) {}

func hasPrefixIgnoreCase(s, prefix string) bool {}

func headerValue(h http.Header, headerNames []string) string {}

func allHeaderValues(h http.Header, headerNames []string) []string {}

func unescapeExtraKey(encodedKey string) string {}

func newExtra(h http.Header, headerPrefixes []string) map[string][]string {}