コード例 #1
0
        public static IHubSpotConfigurator UseOAuthAuthentication(this IHubSpotConfigurator configurator, IConfiguration configuration)
        {
            configurator.AddClientConfiguration(client => client.UseOAuthAuthentication(configuration));

            return(configurator);
        }
コード例 #2
0
        public static IHubSpotConfigurator ConfigureHubSpotClient(this IHubSpotConfigurator configurator, Action <IHubSpotClientConfigurator> clientConfiguration)
        {
            configurator.AddClientConfiguration(clientConfiguration);

            return(configurator);
        }