@@ -7,8 +7,8 @@ public class PlayFabClientModels {
77
88 public static class AcceptTradeRequest {
99 /**
10- * Items from the accepting player's or guild's inventory in exchange for the offered items in the trade. In the case of a
11- * gift, this will be null.
10+ * Items from the accepting player's inventory in exchange for the offered items in the trade. In the case of a gift, this
11+ * will be null.
1212 */
1313 public ArrayList <String > AcceptedInventoryInstanceIds ;
1414 /** Player who opened the trade. */
@@ -881,6 +881,18 @@ public static class EmptyResult {
881881
882882 }
883883
884+ public static class EntityTokenResponse {
885+ /** The identifier of the entity the token was issued for. */
886+ public String EntityId ;
887+ /** The token used to set X-EntityToken for all entity based API calls. */
888+ public String EntityToken ;
889+ /** The type of entity the token was issued for. */
890+ public String EntityType ;
891+ /** The time the token will expire, if it is an expiring token, in UTC. */
892+ public Date TokenExpiration ;
893+
894+ }
895+
884896 public static class ExecuteCloudScriptRequest {
885897 /** The name of the CloudScript function to execute */
886898 public String FunctionName ;
@@ -2142,6 +2154,11 @@ public static enum LoginIdentityProvider {
21422154 }
21432155
21442156 public static class LoginResult {
2157+ /**
2158+ * If LoginTitlePlayerAccountEntity flag is set on the login request the title_player_account will also be logged in and
2159+ * returned.
2160+ */
2161+ public EntityTokenResponse EntityToken ;
21452162 /** Results for requested info. */
21462163 public GetPlayerCombinedInfoResultPayload InfoResultPayload ;
21472164 /** The time of this user's previous login. If there was no previous login, then it's DateTime.MinValue */
@@ -2168,6 +2185,8 @@ public static class LoginWithAndroidDeviceIDRequest {
21682185 public String EncryptedRequest ;
21692186 /** Flags for which pieces of info to return for the user. */
21702187 public GetPlayerCombinedInfoRequestParams InfoRequestParameters ;
2188+ /** Flag to automatically login the player's title_player_account and return the associated entity token. */
2189+ public Boolean LoginTitlePlayerAccountEntity ;
21712190 /** Specific Operating System version for the user's device. */
21722191 public String OS ;
21732192 /** Player secret that is used to verify API request signatures (Enterprise Only). */
@@ -2189,6 +2208,8 @@ public static class LoginWithCustomIDRequest {
21892208 public String EncryptedRequest ;
21902209 /** Flags for which pieces of info to return for the user. */
21912210 public GetPlayerCombinedInfoRequestParams InfoRequestParameters ;
2211+ /** Flag to automatically login the player's title_player_account and return the associated entity token. */
2212+ public Boolean LoginTitlePlayerAccountEntity ;
21922213 /** Player secret that is used to verify API request signatures (Enterprise Only). */
21932214 public String PlayerSecret ;
21942215 /**
@@ -2204,6 +2225,8 @@ public static class LoginWithEmailAddressRequest {
22042225 public String Email ;
22052226 /** Flags for which pieces of info to return for the user. */
22062227 public GetPlayerCombinedInfoRequestParams InfoRequestParameters ;
2228+ /** Flag to automatically login the player's title_player_account and return the associated entity token. */
2229+ public Boolean LoginTitlePlayerAccountEntity ;
22072230 /** Password for the PlayFab account (6-100 characters) */
22082231 public String Password ;
22092232 /**
@@ -2223,6 +2246,8 @@ public static class LoginWithFacebookRequest {
22232246 public String EncryptedRequest ;
22242247 /** Flags for which pieces of info to return for the user. */
22252248 public GetPlayerCombinedInfoRequestParams InfoRequestParameters ;
2249+ /** Flag to automatically login the player's title_player_account and return the associated entity token. */
2250+ public Boolean LoginTitlePlayerAccountEntity ;
22262251 /** Player secret that is used to verify API request signatures (Enterprise Only). */
22272252 public String PlayerSecret ;
22282253 /**
@@ -2240,6 +2265,8 @@ public static class LoginWithGameCenterRequest {
22402265 public String EncryptedRequest ;
22412266 /** Flags for which pieces of info to return for the user. */
22422267 public GetPlayerCombinedInfoRequestParams InfoRequestParameters ;
2268+ /** Flag to automatically login the player's title_player_account and return the associated entity token. */
2269+ public Boolean LoginTitlePlayerAccountEntity ;
22432270 /** Unique Game Center player id. */
22442271 public String PlayerId ;
22452272 /** Player secret that is used to verify API request signatures (Enterprise Only). */
@@ -2259,6 +2286,8 @@ public static class LoginWithGoogleAccountRequest {
22592286 public String EncryptedRequest ;
22602287 /** Flags for which pieces of info to return for the user. */
22612288 public GetPlayerCombinedInfoRequestParams InfoRequestParameters ;
2289+ /** Flag to automatically login the player's title_player_account and return the associated entity token. */
2290+ public Boolean LoginTitlePlayerAccountEntity ;
22622291 /** Player secret that is used to verify API request signatures (Enterprise Only). */
22632292 public String PlayerSecret ;
22642293 /**
@@ -2285,6 +2314,8 @@ public static class LoginWithIOSDeviceIDRequest {
22852314 public String EncryptedRequest ;
22862315 /** Flags for which pieces of info to return for the user. */
22872316 public GetPlayerCombinedInfoRequestParams InfoRequestParameters ;
2317+ /** Flag to automatically login the player's title_player_account and return the associated entity token. */
2318+ public Boolean LoginTitlePlayerAccountEntity ;
22882319 /** Specific Operating System version for the user's device. */
22892320 public String OS ;
22902321 /** Player secret that is used to verify API request signatures (Enterprise Only). */
@@ -2308,6 +2339,8 @@ public static class LoginWithKongregateRequest {
23082339 public GetPlayerCombinedInfoRequestParams InfoRequestParameters ;
23092340 /** Numeric user ID assigned by Kongregate */
23102341 public String KongregateId ;
2342+ /** Flag to automatically login the player's title_player_account and return the associated entity token. */
2343+ public Boolean LoginTitlePlayerAccountEntity ;
23112344 /** Player secret that is used to verify API request signatures (Enterprise Only). */
23122345 public String PlayerSecret ;
23132346 /**
@@ -2321,6 +2354,8 @@ public static class LoginWithKongregateRequest {
23212354 public static class LoginWithPlayFabRequest {
23222355 /** Flags for which pieces of info to return for the user. */
23232356 public GetPlayerCombinedInfoRequestParams InfoRequestParameters ;
2357+ /** Flag to automatically login the player's title_player_account and return the associated entity token. */
2358+ public Boolean LoginTitlePlayerAccountEntity ;
23242359 /** Password for the PlayFab account (6-100 characters) */
23252360 public String Password ;
23262361 /**
@@ -2340,6 +2375,8 @@ public static class LoginWithSteamRequest {
23402375 public String EncryptedRequest ;
23412376 /** Flags for which pieces of info to return for the user. */
23422377 public GetPlayerCombinedInfoRequestParams InfoRequestParameters ;
2378+ /** Flag to automatically login the player's title_player_account and return the associated entity token. */
2379+ public Boolean LoginTitlePlayerAccountEntity ;
23432380 /** Player secret that is used to verify API request signatures (Enterprise Only). */
23442381 public String PlayerSecret ;
23452382 /**
@@ -2364,6 +2401,8 @@ public static class LoginWithTwitchRequest {
23642401 public String EncryptedRequest ;
23652402 /** Flags for which pieces of info to return for the user. */
23662403 public GetPlayerCombinedInfoRequestParams InfoRequestParameters ;
2404+ /** Flag to automatically login the player's title_player_account and return the associated entity token. */
2405+ public Boolean LoginTitlePlayerAccountEntity ;
23672406 /** Player secret that is used to verify API request signatures (Enterprise Only). */
23682407 public String PlayerSecret ;
23692408 /**
@@ -2379,6 +2418,8 @@ public static class LoginWithWindowsHelloRequest {
23792418 public String ChallengeSignature ;
23802419 /** Flags for which pieces of info to return for the user. */
23812420 public GetPlayerCombinedInfoRequestParams InfoRequestParameters ;
2421+ /** Flag to automatically login the player's title_player_account and return the associated entity token. */
2422+ public Boolean LoginTitlePlayerAccountEntity ;
23822423 /** SHA256 hash of the PublicKey generated by Windows Hello. */
23832424 public String PublicKeyHint ;
23842425 /**
@@ -2762,6 +2803,8 @@ public static class RegisterPlayFabUserRequest {
27622803 public String EncryptedRequest ;
27632804 /** Flags for which pieces of info to return for the user. */
27642805 public GetPlayerCombinedInfoRequestParams InfoRequestParameters ;
2806+ /** Flag to automatically login the player's title_player_account and return the associated entity token. */
2807+ public Boolean LoginTitlePlayerAccountEntity ;
27652808 /** Password for the PlayFab account (6-100 characters) */
27662809 public String Password ;
27672810 /** Player secret that is used to verify API request signatures (Enterprise Only). */
@@ -2801,6 +2844,8 @@ public static class RegisterWithWindowsHelloRequest {
28012844 public String EncryptedRequest ;
28022845 /** Flags for which pieces of info to return for the user. */
28032846 public GetPlayerCombinedInfoRequestParams InfoRequestParameters ;
2847+ /** Flag to automatically login the player's title_player_account and return the associated entity token. */
2848+ public Boolean LoginTitlePlayerAccountEntity ;
28042849 /** Player secret that is used to verify API request signatures (Enterprise Only). */
28052850 public String PlayerSecret ;
28062851 /** PublicKey generated by Windows Hello. */
@@ -2895,6 +2940,8 @@ public static class ScriptExecutionError {
28952940 public static class SendAccountRecoveryEmailRequest {
28962941 /** User email address attached to their account */
28972942 public String Email ;
2943+ /** The email template id of the account recovery email template to send. */
2944+ public String EmailTemplateId ;
28982945 /**
28992946 * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a
29002947 * title has been selected.
0 commit comments