public static IHubSpotConfigurator UseOAuthAuthentication(this IHubSpotConfigurator configurator, IConfiguration configuration) { configurator.AddClientConfiguration(client => client.UseOAuthAuthentication(configuration)); return(configurator); }
public static IHubSpotConfigurator ConfigureHubSpotClient(this IHubSpotConfigurator configurator, Action <IHubSpotClientConfigurator> clientConfiguration) { configurator.AddClientConfiguration(clientConfiguration); return(configurator); }