// AuthenticatorsFor gets the authenticators for the specified security schemes
AuthenticatorsFor gets the authenticators for the specified security schemes
// AuthenticatorsFor gets the authenticators for the specified security schemes
func (o *WorkflowManagerAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]httpkit.Authenticator {
	result := make(map[string]httpkit.Authenticator)
	for name, scheme := range schemes {
		switch name {
		case "basic":
			_ = scheme
			result[name] = security.BasicAuth(func(u, p string) (interface{}, error) { return o.BasicAuth(u, p) })
		}
	}
	return result
}
func ( o * WorkflowManagerAPI ) AuthenticatorsFor ( schemes map [ string ] spec . SecurityScheme ) map [ string ] httpkit . Authenticator { result := make ( map [ string ] httpkit . Authenticator ) for name , scheme := range schemes { switch name { case " " : _ = scheme result [ name ] = security . BasicAuth ( func ( u , p string ) ( interface { } , error ) { return o . BasicAuth ( u , p ) } ) } } return result }
AuthenticatorsFor gets the authenticators for the specified security schemes
AuthenticatorsFor gets the authenticators for the specified security schemes