/// <summary>
 /// ctor
 /// </summary>
 /// <param name="accessTokenManagementOptions"></param>
 /// <param name="oidcOptions"></param>
 /// <param name="schemeProvider"></param>
 public DefaultTokenClientConfigurationService(
     IOptions <AccessTokenManagementOptions> accessTokenManagementOptions,
     IOptionsMonitor <OpenIdConnectOptions> oidcOptions,
     IAuthenticationSchemeProvider schemeProvider)
 {
     _accessTokenManagementOptions = accessTokenManagementOptions.Value;
     _oidcOptions    = oidcOptions;
     _schemeProvider = schemeProvider;
 }
Example #2
0
 /// <summary>
 /// ctor
 /// </summary>
 /// <param name="cache"></param>
 /// <param name="options"></param>
 /// <param name="logger"></param>
 public ClientAccessTokenCache(IDistributedCache cache, IOptions <AccessTokenManagementOptions> options, ILogger <ClientAccessTokenCache> logger)
 {
     _cache   = cache;
     _logger  = logger;
     _options = options.Value;
 }