public PayPalHttpClient(PayPalEnvironment environment, string refreshToken) : base(environment) { this.refreshToken = refreshToken; gzipInjector = new GzipInjector(); authorizationInjector = new AuthorizationInjector(this, environment, refreshToken); AddInjector(this.gzipInjector); AddInjector(this.authorizationInjector); }
public AuthorizationInjector(HttpClient client, PayPalEnvironment environment, string refreshToken) { this.environment = environment; this.client = client; this.refreshToken = refreshToken; }
public PayPalHttpClient(PayPalEnvironment environment) : this(environment, null) { }