mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-23 19:30:06 +02:00
feat: prolong token UI logic implemented
This commit is contained in:
1 parent
6390c454d0
commit
7d1d1b5ad6
9 files changed
+223
-13
No files matched your search
@@ -4,6 +4,7 @@ using System.Threading.Tasks;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using StrawberryShake;
|
||||
using WotBlitzStatisticsPro.Blazor.GraphQl;
|
||||
using WotBlitzStatisticsPro.Blazor.Model;
|
||||
|
||||
namespace WotBlitzStatisticsPro.Blazor.Services
|
||||
{
|
||||
@@ -99,5 +100,16 @@ namespace WotBlitzStatisticsPro.Blazor.Services
|
||||
_notificationsService.ReportError("Backend error",string.Join(";", messages));
|
||||
}
|
||||
}
|
||||
|
||||
public Task<LoginInfo> ProlongToken(long accountId, string oldToken, RealmType realmType)
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
public Task<(IAccount accountInfo, IReadOnlyList<ISection> achievementsBySection)> CollectPlayerInfo(long accountId, RealmType realmType, string accessToken)
|
||||
{
|
||||
// ToDo: Call mutation with accessToken in the context
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user