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

@@ -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
}
}