feat: prolong token UI logic implemented

This commit is contained in:
Mikhail Shabanov committed 2021-09-01 17:35:40 +02:00
1 parent 6390c454d0
commit 7d1d1b5ad6
9 files changed
+223 -13

No files matched your search

@@ -1,6 +1,7 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using WotBlitzStatisticsPro.Blazor.GraphQl;
using WotBlitzStatisticsPro.Blazor.Model;
namespace WotBlitzStatisticsPro.Blazor.Services
{
@@ -18,6 +19,16 @@ namespace WotBlitzStatisticsPro.Blazor.Services
long accountId,
RealmType realmType);
Task<(IAccount accountInfo, IReadOnlyList<ISection> achievementsBySection)> CollectPlayerInfo(
long accountId,
RealmType realmType,
string accessToken);
Task<string> GetWgLoginUrl(RealmType realmType);
Task<LoginInfo> ProlongToken(
long accountId,
string oldToken,
RealmType realmType);
}
}