示例#1
0
 /// <summary>
 /// ctor
 /// </summary>
 /// <param name="configService"></param>
 /// <param name="httpClientFactory"></param>
 public TokenEndpointService(
     ITokenClientConfigurationService configService,
     IHttpClientFactory httpClientFactory)
 {
     _configService = configService;
     _httpClient    = httpClientFactory.CreateClient(AccessTokenManagementDefaults.BackChannelHttpClientName);
 }
示例#2
0
 /// <summary>
 /// ctor
 /// </summary>
 /// <param name="configService"></param>
 /// <param name="httpClientFactory"></param>
 /// <param name="logger"></param>
 public TokenEndpointService(
     ITokenClientConfigurationService configService,
     IHttpClientFactory httpClientFactory,
     ILogger <TokenEndpointService> logger)
 {
     _configService     = configService;
     _httpClientFactory = httpClientFactory;
     _logger            = logger;
 }