mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-26 03:40:07 +01:00
feat: implemented login-prolong-logout mechanisms
This commit is contained in:
1 parent
79a87d0d66
commit
241b879689
53 files changed
+1789
-13
No files matched your search
@@ -0,0 +1,3 @@
|
||||
mutation WargamingPlayers {
|
||||
removePlayerHistory(realm: RU, accountId: 12345)
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
query WargamingAuthenticationQuery($realmType: RealmType!) {
|
||||
loginUrl(realmType: $realmType,)
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
mutation WargamingOpenId(
|
||||
$token: String!,
|
||||
$realmType: RealmType!){
|
||||
logout (realm: $realmType,
|
||||
token: $token)
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
mutation WargamingOpenIdAuthentication(
|
||||
$oldToken: String!,
|
||||
$realmType: RealmType!) {
|
||||
prolongAuthToken(
|
||||
oldToken: $oldToken,
|
||||
realm: $realmType) {
|
||||
accessToken
|
||||
accountId
|
||||
expirationTimeStamp
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user