code: func (o *MultiAuthExampleAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator {
  
  	result := make(map[string]runtime.Authenticator)
  	for name, scheme := range schemes {
  		switch name {
  
  		case "hasRole":
  
  			result[name] = o.BearerAuthenticator(scheme.Name, func(token string, scopes []string) (interface{}, error) {
  				return o.HasRoleAuth(token, scopes)
  			})
  
  		case "isRegistered":
  			_ = scheme
  			result[name] = o.BasicAuthenticator(func(username, password string) (interface{}, error) {
  				return o.IsRegisteredAuth(username, password)
  			})
  
  		case "isReseller":
  
  			result[name] = o.APIKeyAuthenticator(scheme.Name, scheme.In, func(token string) (interface{}, error) {
  				return o.IsResellerAuth(token)
  			})
  
  		case "isResellerQuery":
  
  			result[name] = o.APIKeyAuthenticator(scheme.Name, scheme.In, func(token string) (interface{}, error) {
  				return o.IsResellerQueryAuth(token)
  			})
  
  		}
  	}
  	return result
  
  }
docs: // AuthenticatorsFor gets the authenticators for the specified security schemes