示例#1
0
 public AuthStatusService(
     ILogger <AuthStatusService> logger,
     IHostHttpClient hostHttpClient)
 {
     _logger     = logger;
     _httpClient = hostHttpClient.CreateHttpClient();
 }
示例#2
0
 public AccountHelper(
     NavigationManager navigation,
     IHostHttpClient hostHttpClient,
     ILogger <AccountHelper> logger)
 {
     _navigation     = navigation;
     _hostHttpClient = hostHttpClient;
     _logger         = logger;
 }
示例#3
0
 public FetchAuthStatusService(IHostHttpClient hostHttpClient)
 {
     _httpClient = hostHttpClient.CreateHttpClient();
 }
示例#4
0
 public FetchWeatherForecastService(IHostHttpClient hostHttpClient)
 {
     _httpClient = hostHttpClient.CreateHttpClient();
 }
 public FetchAuthStatusService(IHostHttpClient hostHttpClient,
                               OAuth2.TokenManagement.Client.ITokenManager tokenManager)
 {
     _httpClient   = hostHttpClient.CreateHttpClient();
     _tokenManager = tokenManager;
 }