Пример #1
0
 public AuthorizeApi(AuthenticationStateProvider authenticationStateProvider,
                     ILocalStorageService localStorage, Task <Account.AccountClient> accountClient)
 {
     _localStorage  = localStorage;
     _accountClient = accountClient;
     _authenticationStateProvider = (IdentityAuthenticationStateProvider)authenticationStateProvider;
 }
Пример #2
0
 public AuthorizeApi(AuthenticationStateProvider authenticationStateProvider, ILocalStorageService localStorage)
 {
     _localStorage = localStorage;
     _authenticationStateProvider = (IdentityAuthenticationStateProvider)authenticationStateProvider;
 }