mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-24 20:00:05 +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
@@ -232,6 +232,17 @@ namespace WotBlitzStatisticsPro.WgApiClient
|
||||
};
|
||||
}
|
||||
|
||||
public async Task Logout(RealmType realm, string token)
|
||||
{
|
||||
// https://api.worldoftanks.ru/wot/auth/logout/?application_id=adc1387489cf9fc8d9a1d85dbd27763d
|
||||
string prolongUri = GetWotUri(
|
||||
realm,
|
||||
"auth/logout/",
|
||||
new string[] { $"access_token={token}" });
|
||||
await CallWgApi<WotAuthProlongateResponse>(prolongUri, true);
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user