Ejemplo n.º 1
0
 public Authorizer(AuthorizerOptions options, Func <System.Net.Http.HttpClient> httpClientFactory)
 {
     _options           = options ?? throw new ArgumentNullException(nameof(options));
     _httpClientFactory = httpClientFactory ?? throw new ArgumentNullException(nameof(httpClientFactory));
 }
Ejemplo n.º 2
0
 // ReSharper disable once UnusedMember.Global
 public Authorizer(AuthorizerOptions options)
     : this(options, () => new System.Net.Http.HttpClient())
 {
 }