Exemplo n.º 1
0
 public Authorizer(AuthorizerOptions options)
     : this(options, () => new HttpClient())
 {
 }
Exemplo n.º 2
0
 internal Authorizer(AuthorizerOptions options, Func <HttpClient> createHttpClient)
 {
     _options          = options ?? throw new ArgumentNullException(nameof(options));
     _createHttpClient = createHttpClient ?? throw new ArgumentNullException(nameof(createHttpClient));
 }