public AutomaticTokenManagementCookieEvents(
     TokenEndpointService service,
     IOptions <AutomaticTokenManagementOptions> options,
     ILogger <AutomaticTokenManagementCookieEvents> logger,
     ISystemClock clock)
 {
     _service = service;
     _options = options.Value;
     _logger  = logger;
     _clock   = clock;
 }
Пример #2
0
 public TokenEndpointService(
     IOptions <AutomaticTokenManagementOptions> managementOptions,
     IOptionsSnapshot <OpenIdConnectOptions> oidcOptions,
     IAuthenticationSchemeProvider schemeProvider,
     HttpClient tokenClient,
     ILogger <TokenEndpointService> logger)
 {
     this.managementOptions = managementOptions.Value;
     this.oidcOptions       = oidcOptions;
     this.schemeProvider    = schemeProvider;
     this.tokenClient       = tokenClient;
     this.logger            = logger;
 }