feat: implemented login-prolong-logout mechanisms

This commit is contained in:
Michael Shabanov committed 2021-10-20 19:06:34 +03:00
1 parent 79a87d0d66
commit 241b879689
53 files changed
+1789 -13

No files matched your search

@@ -398,5 +398,15 @@ namespace WotBlitzStatisticsPro.Blazor.Services.Mock
{
return Task.CompletedTask;
}
public Task<LoginInfo> ProlongToken(string oldToken, RealmType realmType)
{
return Task.FromResult(new LoginInfo { AccessToken = oldToken, Realm = realmType, ExpiresAt = 1631182800, NickName = "Fake nick" });
}
public Task<string> Logout(string token, RealmType realmType)
{
return Task.FromResult("Fake logout");
}
}
}