mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-23 19:30:06 +02:00
feat: wg auth prolong prolong method implemented
This commit is contained in:
1 parent
c94a1033c7
commit
ed74321703
4 files changed
+27
-1
No files matched your search
@@ -25,5 +25,17 @@ namespace WotBlitzStatisticsPro.GraphQl.Mutation
|
||||
{
|
||||
return _wargamingAuthenticationClient.ProlongAuthToken(realm, oldToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Removes player's access token
|
||||
/// </summary>
|
||||
/// <param name="realm">Wargaming realm</param>
|
||||
/// <param name="token">Token to logout</param>
|
||||
/// <returns></returns>
|
||||
public async Task<string> Logout(RealmType realm, string token)
|
||||
{
|
||||
await _wargamingAuthenticationClient.Logout(realm, token);
|
||||
return "OK";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user