コード例 #1
0
 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;
 }