Beispiel #1
0
 public AccountService(
     HttpClientService httpClientService,
     ApiAuthenticationStateProvider apiAuthenticationState,
     IOptions <ApiOptions> apiOptions) : base(httpClientService, apiOptions)
 {
     _apiAuthenticationState = apiAuthenticationState;
 }
 public AuthentificationRepository(IHttpClientFactory httpClient,
                                   ILocalStorageService localStorage,
                                   ApiAuthenticationStateProvider authStateProvider)
 {
     _httpClient        = httpClient;
     _localStorage      = localStorage;
     _authStateProvider = authStateProvider;
 }
Beispiel #3
0
 public AuthService(ApiClient apiClient,
                    ApiAuthenticationStateProvider authenticationStateProvider,
                    ILocalStorageService localStorage)
 {
     this.apiClient = apiClient;
     this.authenticationStateProvider = authenticationStateProvider;
     this.localStorage = localStorage;
 }
Beispiel #4
0
 public AuthService(HttpClient httpClient,
                    ApiAuthenticationStateProvider authenticationStateProvider,
                    ILocalStorageService localStorage)
 {
     _httpClient = httpClient;
     _authenticationStateProvider = authenticationStateProvider;
     _localStorage = localStorage;
 }
Beispiel #5
0
 public AuthService(IFlurlClient http, AuthenticationStateProvider auth)
 {
     this.http = http;
     this.auth = (ApiAuthenticationStateProvider)auth;
 }
Beispiel #6
0
 public AuthenticationRepository(HttpClient client, ILocalStorageService localStorage, ApiAuthenticationStateProvider authenticationStateProvider)
 {
     _authenticationStateProvider = authenticationStateProvider;
     _localStorage = localStorage;
     _client       = client;
 }