コード例 #1
0
 public AuthService(HttpClient client, AuthenticationStateProvider authenticationStateProvider, AuthCredentialsKeeper credentialsKeeper, IConfiguration configuration)
 {
     _client                      = client;
     _credentialsKeeper           = credentialsKeeper;
     _configuration               = configuration;
     _authenticationStateProvider = (AuthStateProvider)authenticationStateProvider;
 }
コード例 #2
0
 public ResourceService(AuthCredentialsKeeper authCredentialsKeeper, HttpClient client, IConfiguration configuration)
 {
     _authCredentialsKeeper = authCredentialsKeeper;
     _client       = client;
     _mobileBffUrl = configuration.GetValue <string>("WebBff:BaseUrl");
 }
コード例 #3
0
 public AuthStateProvider(AuthCredentialsKeeper credentialsKeeper, HttpClient httpClient)
 {
     _credentialsKeeper = credentialsKeeper;
     _httpClient        = httpClient;
 }