public async Task LoginCurrentUserAsync(UserListModel user) { accessTokenManager.Logout(); applicationContext.ClearLoginInfo(); dataStorageService.ClearSessionPersistance(); await GoToLoginPageAsync(); }
public async Task LogoutAsync() { _accessTokenManager.Logout(); _applicationContext.ClearLoginInfo(); _dataStorageService.ClearSessionPersistance(); await GoToLoginPageAsync(); }
private async Task HandleSessionExpired(IAccessTokenManager tokenManager) { tokenManager.Logout(); if (OnSessionTimeOut != null) { await OnSessionTimeOut(); } }
private async Task <AbpUserConfigurationDto> HandleSessionTimeOut(AbpUserConfigurationDto userConfig) { _tokenManager.Logout(); if (OnSessionTimeOut != null) { await OnSessionTimeOut(); } return(userConfig); }