예제 #1
0
 /// <summary>
 /// ctor
 /// </summary>
 /// <param name="accessTokenManagementService">The Access Token Management Service</param>
 /// <param name="tokenClientName">The name of the token client configuration</param>
 public ClientAccessTokenHandler(IAccessTokenManagementService accessTokenManagementService, string tokenClientName = AccessTokenManagementDefaults.DefaultTokenClientName)
 {
     _accessTokenManagementService = accessTokenManagementService;
     _tokenClientName = tokenClientName;
 }
예제 #2
0
 public UserController(IAccessTokenManagementService accessTokenManagementService, IHttpClientFactory httpClientFactory)
 {
     _accessTokenManagementService = accessTokenManagementService;
     _httpClientFactory            = httpClientFactory;
 }