Skip to main content

GUALoginResult

Data Structures

GUALoginResult: Login callback information, inherits from GUABaseResult, and includes login information.

ParameterTypeDescription
OpenIDstringUnique user ID
TokenstringUser token
TokenExpirelongToken expiration timestamp
For example, 1600844518.
FirstLoginintWhether this is the first login
-1: Unknown
0: No
1: Yes
UserNamestringUser defined nickname
GenderintGender
0: Undefined (WeChat and QQ will return 0)
1: Male
2: Female
BirthdatestringReturns empty, collection of player birthdate is not allowed according to compliance requirements
PictureUrlstringUser avatar URL
Pfstringpf value
For Midas payment
Pfkeystringpf key
For Midas payment
RealNameAuthboolWhether real-name verification is required
ChannelIDintChannel ID
ChannelstringChannel name
ChannelInfostringThird-party channel login information
ConfirmCodestringConfirmation code
ConfirmCodeExpireTime
[MSDK Only]
longConfirmation code expiration time
BindListstringLinking information
JSON data in array type
LegalDocumentsAcceptedVersion
[Player Network SDK Only]
stringThe accepted version of legal documents
DeleteAccountStatus
[Player Network SDK Only]
intAccount deletion status
For more information, see DeleteAccountStatus.
DeleteAccountInfoStringReach out to the Player Network representative if DeleteAccountInfo is required
Delete account information, JSON data.
For more information, see DeleteAccountInfo.
TransferCode
[Player Network SDK Only]
stringTransfer code
TransferCodeExpire
[Player Network SDK Only]
longExpiration time for transfer code

DeleteAccountStatus

caution

Reach out to the Player Network representative to configure DeleteAccountStatus, otherwise DeleteAccountStatus returns -1.

ValueDescriptionRemark
0No account deletion or account deletion has been canceledAllow players to enter the game
1Account deletion cooling-off periodReject player login, prompt players whether to cancel account deletion and enter the game
2Account deletion completedReject player login
3Account deletion in progressReject player login
4Account deletion failedReject player login
-1The backend does not return the account deletion status.Recommend allowing players to enter the game
-2The network is unstable for the deletion status service.Recommend allowing players to enter the game
-3DMCS response data format is wrong (The return status or err_code fields are missing in JSON)Recommend allowing players to enter the game
-4Internal error (parameter verification is incorrect or configuration verification is not equal to internal authorization logic.)Recommend allowing players to enter the game
-10 or -11Internal error in the account deletion status serviceRecommend allowing players to enter the game
>= 5UndefinedRecommend allowing players to enter the game

Reasons for recommending allowing players to enter the game:

  • Rejecting player login affects all players. It is not recommended to make it the critical path for account deletion.
  • At the same time, games should review if allowing players to enter the game when the return value is negative will have other influences on game data.