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