public async Task <ClientApiResponse> Login(LoginParameters loginParameters) { ClientApiResponse apiResponse = await _authorizeApi.Login(loginParameters); NotifyAuthenticationStateChanged(GetAuthenticationStateAsync()); return(apiResponse); }
public async Task <ApiResponseDto <LoginResponseModel> > Login(LoginInputModel parameters) { ApiResponseDto <LoginResponseModel> apiResponse = await _authorizeApi.Login(parameters); NotifyAuthenticationStateChanged(GetAuthenticationStateAsync()); return(apiResponse); }
public async Task <LoginResultModel> Login(LoginModel loginModel) { var result = await _authorizeApi.Login(loginModel); NotifyAuthenticationStateChanged(GetAuthenticationStateAsync()); return(result); }
public async Task Login(LoginParameters loginParameters) { userInfo = await _authorizeApi.Login(loginParameters); _serverAuthenticationStateProvider.RaiseChangeEvent(); Console.WriteLine($"Login... userInfo: {userInfo}, userInfo.Username: {userInfo?.Username}"); }
public async Task Login(LoginParameters loginParameters) { await _authorizeApi.Login(loginParameters); NotifyAuthenticationStateChanged(GetAuthenticationStateAsync()); }
public async Task Login(LoginParameters loginParameters) { userInfo = await _authorizeApi.Login(loginParameters); }
public async Task Login(LoginModel model) { await _authorizeApi.Login(model); NotifyAuthenticationStateChanged(GetAuthenticationStateAsync()); }
public async Task Login(string username, string password) { await _authorizeApi.Login(username, password); UserName = username; }
public async Task Login(LoginParameters loginParameters) { userInfo = await _authorizeApi.Login(loginParameters); NotifyAuthenticationStateChanged(); }