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