{"modulePath":"github.com/stackpointcloud/kubernetes","version":"v1.3.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package basicauth\n\n## Types\n\n```go\ntype Authenticator struct {\n\t// contains filtered or unexported fields\n}\n```\nAuthenticator authenticates requests using basic auth\n\n```go\nfunc New(auth authenticator.Password) *Authenticator\n```\nNew returns a request authenticator that validates credentials using the provided password authenticator\n\n```go\nfunc (a *Authenticator) AuthenticateRequest(req *http.Request) (user.Info, bool, error)\n```\nAuthenticateRequest authenticates the request using the \"Authorization: Basic\" header in the request\n\n","path":"github.com/stackpointcloud/kubernetes/plugin/pkg/auth/authenticator/request/basicauth","name":"basicauth","synopsis":"","isRedistributable":true}
