package webhook

import "k8s.io/kubernetes/plugin/pkg/auth/authenticator/token/webhook"

Package webhook implements the authenticator.Token interface using HTTP webhooks.

Index

Types

type WebhookTokenAuthenticator

type WebhookTokenAuthenticator struct {
	*webhook.GenericWebhook
}

func New

func New(kubeConfigFile string) (*WebhookTokenAuthenticator, error)

New creates a new WebhookTokenAuthenticator from the provided kubeconfig file.

func (*WebhookTokenAuthenticator) AuthenticateToken

func (w *WebhookTokenAuthenticator) AuthenticateToken(token string) (user.Info, bool, error)

AuthenticateToken

Source Files

webhook.go

Version
v1.3.0-alpha.4
Published
May 17, 2016
Platform
js/wasm
Imports
6 packages
Last checked
5 minutes ago

Tools for package owners.