Example #1
0
 protected override async Task OnInitializedAsync()
 {
     session = AuthService.GetSession();
     if (session.UserId != null)
     {
         clan     = Player.Clan;
         clanRole = Player.ClanRole;
         await InvokeAsync(StateHasChanged);
     }
 }
Example #2
0
 protected override void OnInitialized()
 {
     session = AuthService.GetSession();
 }
Example #3
0
 protected override async Task OnInitializedAsync()
 {
     session = AuthService.GetSession();
     await HandleLoginCallbackAsync();
 }