Skip to content

Commit ea04a88

Browse files
Merge pull request #429 from CNinnovation/428-accountpage-userinformation
Added UserInformation to AccountPageViewModel
2 parents 8ba01b4 + 0cf9fe1 commit ea04a88

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/clients/xaml/CodeBreaker.ViewModels/Pages/AccountPageViewModel.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ public AccountPageViewModel(IAuthService authService, IViewModelNavigationServic
1818
_navigationService = navigationService;
1919
}
2020

21+
public bool IsAuthenticated => _authService.IsAuthenticated;
22+
23+
public UserInformation? UserInformation => _authService.LastUserInformation;
24+
2125
[RelayCommand(AllowConcurrentExecutions = false, FlowExceptionsToTaskScheduler = true)]
2226
private async Task LogoutAsync(CancellationToken cancellationToken = default)
2327
{

0 commit comments

Comments
 (0)