public BackgroundServerStateSynchronizer(
     IServerStateCache cache,
     IServerStateProvider serverStateProvider,
     ILogger <BackgroundInvalidatedTokenSynchronizer> logger)
 {
     this.cache = cache;
     this.serverStateProvider = serverStateProvider;
     this.logger = logger;
 }
示例#2
0
 public ConfigController(
     IOptions <AuthenticationOptions> authenticationOptions,
     IOptions <LeafVersionOptions> versionOptions,
     IOptions <CohortOptions> cohortOptions,
     IOptions <ClientOptions> clientOptions,
     IOptions <AttestationOptions> attestationOptions,
     IOptions <DeidentificationOptions> deidentOptions,
     IServerStateCache serverStateCache)
 {
     this.authenticationOptions = authenticationOptions.Value;
     this.versionOptions        = versionOptions.Value;
     this.cohortOptions         = cohortOptions.Value;
     this.clientOptions         = clientOptions.Value;
     this.attestationOptions    = attestationOptions.Value;
     this.deidentOptions        = deidentOptions.Value;
     this.serverStateCache      = serverStateCache;
 }