Exemple #1
0
 public AutomaticTokenManagementCookieEvents(
     TokenEndpointService service,
     IOptions <AutomaticTokenManagementOptions> options,
     ILogger <AutomaticTokenManagementCookieEvents> logger,
     ISystemClock clock)
 {
     _service = service;
     _options = options.Value;
     _logger  = logger;
     _clock   = clock;
 }
 public TokenEndpointService(
     IOptions <AutomaticTokenManagementOptions> managementOptions,
     IOptionsSnapshot <OpenIdConnectOptions> oidcOptions,
     IAuthenticationSchemeProvider schemeProvider,
     IHttpClientFactory httpClientFactory)
 {
     _managementOptions = managementOptions.Value;
     _oidcOptions       = oidcOptions;
     _schemeProvider    = schemeProvider;
     _httpClientFactory = httpClientFactory;
 }