{"modulePath":"github.com/hyperhq/hypernetes","version":"v1.3.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package webhook\n\nPackage webhook implements the authenticator.Token interface using HTTP webhooks.\n\n## Types\n\n```go\ntype WebhookTokenAuthenticator struct {\n\t*webhook.GenericWebhook\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc New(kubeConfigFile string, ttl time.Duration) (*WebhookTokenAuthenticator, error)\n```\nNew creates a new WebhookTokenAuthenticator from the provided kubeconfig file.\n\n```go\nfunc (w *WebhookTokenAuthenticator) AuthenticateToken(token string) (user.Info, bool, error)\n```\nAuthenticateToken implements the authenticator.Token interface.\n\n","path":"github.com/hyperhq/hypernetes/plugin/pkg/auth/authenticator/token/webhook","name":"webhook","synopsis":"Package webhook implements the authenticator.Token interface using HTTP webhooks.","isRedistributable":true}
