public TvDBAuthenticationHandler(
     IOptions <TvdbClientOptions> options,
     ILogger <TvDBAuthenticationHandler> logger,
     TvDBTokenAccessor tokenAccessor)
 {
     _options       = options.Value;
     _logger        = logger;
     _tokenAccessor = tokenAccessor;
 }
Example #2
0
 public AuthenticationClient(HttpClient client, TvDBTokenAccessor tokenAccessor, IOptions <TvdbClientOptions> options)
 {
     _client        = client;
     _tokenAccessor = tokenAccessor;
     _options       = options.Value;
 }