PlayerPass
A player pass and when it expires. A pass is a signed statement from Crowded Kingdoms that a player is signed in to an app.
type PlayerPass {
pass: String!
expiresAt: DateTime!
}
Fields
PlayerPass.pass ● String! non-null scalar
The pass. Your game server shows it on its hub connection, and an app that requires a pass (setExecCallAsPolicy) then accepts the hub calls the server makes for the player. It signs nobody in and opens no connection. Keep it on your servers.
PlayerPass.expiresAt ● DateTime! non-null scalar
When the pass expires: the expiry of the app token you called with. After a refresh, read playerPass in the answer of refreshAppToken, or call this again with the new token.
Returned By
playerPass query