code: func (authHandler *unionAuthRequestHandler) AuthenticateRequest(req *http.Request) (*authenticator.Response, bool, error) {
  	var errlist []error
  	for _, currAuthRequestHandler := range authHandler.Handlers {
  		resp, ok, err := currAuthRequestHandler.AuthenticateRequest(req)
  		if err != nil {
  			if authHandler.FailOnError {
  				return resp, ok, err
  			}
  			errlist = append(errlist, err)
  			continue
  		}
  
  		if ok {
  			return resp, ok, err
  		}
  	}
  
  	return nil, false, utilerrors.NewAggregate(errlist)
  }
docs: // AuthenticateRequest authenticates the request using a chain of authenticator.Request objects.