{"modulePath":"github.com/2lambda123/openshift-origin","version":"v1.5.1","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package unionrequest\n\n## Functions\n\n```go\nfunc NewUnionAuthentication(authRequestHandlers ...authenticator.Request) authenticator.Request\n```\nNewUnionAuthentication returns a request authenticator that validates credentials using a chain of authenticator.Request objects\n\n## Types\n\n```go\ntype Authenticator struct {\n\tHandlers    []authenticator.Request\n\tFailOnError bool\n}\n```\n\n```go\nfunc (authHandler *Authenticator) AuthenticateRequest(req *http.Request) (user.Info, bool, error)\n```\nAuthenticateRequest authenticates the request using a chain of authenticator.Request objects.  The first success returns that identity.  Errors are only returned if no matches are found.\n\n","path":"github.com/2lambda123/openshift-origin/pkg/auth/authenticator/request/unionrequest","name":"unionrequest","synopsis":"","isRedistributable":true}
