mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-14 10:12:59 +02:00
27 lines
747 B
JSON
27 lines
747 B
JSON
|
{
|
||
|
"type" : "object",
|
||
|
"$schema" : "http://json-schema.org/draft-06/schema",
|
||
|
"title" : "Lobby protocol: accountCreated",
|
||
|
"description" : "Sent by server when player successfully creates a new account. Note that it does not automatically logs in created account",
|
||
|
"required" : [ "type", "accountID", "accountCookie" ],
|
||
|
"additionalProperties" : false,
|
||
|
|
||
|
"properties" : {
|
||
|
"type" :
|
||
|
{
|
||
|
"type" : "string",
|
||
|
"const" : "accountCreated"
|
||
|
},
|
||
|
"accountID" :
|
||
|
{
|
||
|
"type" : "string",
|
||
|
"description" : "Unique ID of account that client must remember for future login attempts"
|
||
|
},
|
||
|
"accountCookie" :
|
||
|
{
|
||
|
"type" : "string",
|
||
|
"description" : "Private access cookie of account that client must remember for future login attempts"
|
||
|
}
|
||
|
}
|
||
|
}
|