func (s *IdentityService) GetOIDCConnectors(withSecrets bool) ([]services.OIDCConnector, error) {
	connectorIDs, err := s.backend.GetKeys(connectorsPath)
	if err != nil {
		return nil, trace.Wrap(err)
	}
	connectors := make([]services.OIDCConnector, 0, len(connectorIDs))
	for _, id := range connectorIDs {
		connector, err := s.GetOIDCConnector(id, withSecrets)
		if err != nil {
			return nil, trace.Wrap(err)
		}
		connectors = append(connectors, *connector)
	}
	return connectors, nil
}
// GetOIDCConnectors returns registered connectors, withSecrets adds or removes client secret from return results
GetOIDCConnectors returns registered connectors, withSecrets adds or removes client secret from return results
// GetOIDCConnectors returns registered connectors withSecrets adds or removes client secret from return results
func (s *IdentityService) GetOIDCConnectors(withSecrets bool) ([]services.OIDCConnector, error) {
	connectorIDs, err := s.backend.GetKeys(connectorsPath)
	if err != nil {
		return nil, trace.Wrap(err)
	}
	connectors := make([]services.OIDCConnector, 0, len(connectorIDs))
	for _, id := range connectorIDs {
		connector, err := s.GetOIDCConnector(id, withSecrets)
		if err != nil {
			return nil, trace.Wrap(err)
		}
		connectors = append(connectors, *connector)
	}
	return connectors, nil
}
func ( s * IdentityService ) GetOIDCConnectors ( withSecrets bool ) ( [ ] services . OIDCConnector , error ) { connectorIDs , err := s . backend . GetKeys ( connectorsPath ) if err != nil { return nil , trace . Wrap ( err ) } connectors := make ( [ ] services . OIDCConnector , 0 , len ( connectorIDs ) ) for _ , id := range connectorIDs { connector , err := s . GetOIDCConnector ( id , withSecrets ) if err != nil { return nil , trace . Wrap ( err ) } connectors = append ( connectors , * connector ) } return connectors , nil }
GetOIDCConnectors returns registered connectors, withSecrets adds or removes client secret from return results
GetOIDCConnectors returns registered connectors withSecrets adds or removes client secret from return results