MintManagedPlayerTokenInput
No description
input MintManagedPlayerTokenInput {
appId: BigInt!
externalId: String!
gamertag: String
sessionTtlSeconds: Int
ageYears: Int
country: String
region: String
}
Fields
MintManagedPlayerTokenInput.appId ● BigInt! non-null scalar
The app to play: one of the org token's organization's apps.
MintManagedPlayerTokenInput.externalId ● String! non-null scalar
The id your organization knows the player by (1-256 characters, no control characters). Use your own stable account id, not an email address. The first sign-in creates the player.
MintManagedPlayerTokenInput.gamertag ● String scalar
Display name (at most 64 characters, none of them control, line-break or bidirectional-formatting characters). Set when the player is created; later sign-ins leave it (rename with updateManagedPlayer).
MintManagedPlayerTokenInput.sessionTtlSeconds ● Int scalar
How long this sign-in lasts, in seconds (default and maximum: the org's settings). The app token refreshes (refreshAppToken) until then; after it, sign the player in again.
MintManagedPlayerTokenInput.ageYears ● Int scalar
The player's age in whole years, as your organization knows it. Stored as a bracket (under_13, 13_15, 16_17, 18_plus), which hubs read and which sets a minor's defaults; a player under 13, or under the app's or the country's minimum, is refused AGE_REQUIREMENT_NOT_MET before it is created or signed in, and then refused again, whatever the age, for 24 hours. A player that exists and is asserted under 13 is deleted, as deleteManagedPlayer does. Optional while every player is 18 or older under the Org-Managed Players Addendum (omitted, the player counts as 18_plus); required once players 13 and over are admitted (AGE_REQUIRED without it).
MintManagedPlayerTokenInput.country ● String scalar
The country the player lives in, ISO 3166-1 alpha-2 (such as US). A country Crowded Kingdoms does not serve is refused TERRITORY_NOT_SUPPORTED, and a country's own minimum age applies. Stored on the player; optional until players 13 and over are admitted, required after.
MintManagedPlayerTokenInput.region ● String scalar
The region the player lives in, ISO 3166-2 within country (such as UA-30). Required in a country Crowded Kingdoms checks by region (territoryPolicies lists its regions): without it, or in a blocked region, the player is refused TERRITORY_NOT_SUPPORTED. Checked at each sign-in, not stored.
Member Of
mintManagedPlayerToken mutation