![JAR search and dependency download from the Maven repository](/logo.png)
com.playfab.PlayFabAuthenticationModels Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of server-sdk Show documentation
Show all versions of server-sdk Show documentation
PlayFab is the unified backend platform for games — everything you need to build and operate your game, all in one place, so you can focus on creating and delivering a great player experience.
package com.playfab;
import java.util.*;
import com.playfab.PlayFabUtil.*;
public class PlayFabAuthenticationModels {
/** Combined entity type and ID structure which uniquely identifies a single entity. */
public static class EntityKey {
/** Unique ID of the entity. */
public String Id;
/** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */
public String Type;
}
/**
* This API must be called with X-SecretKey, X-Authentication or X-EntityToken headers. An optional EntityKey may be
* included to attempt to set the resulting EntityToken to a specific entity, however the entity must be a relation of the
* caller, such as the master_player_account of a character. If sending X-EntityToken the account will be marked as freshly
* logged in and will issue a new token. If using X-Authentication or X-EntityToken the header must still be valid and
* cannot be expired or revoked.
*/
public static class GetEntityTokenRequest {
/** The entity to perform this action on. */
public EntityKey Entity;
}
public static class GetEntityTokenResponse {
/** The entity id and type. */
public EntityKey Entity;
/** The token used to set X-EntityToken for all entity based API calls. */
public String EntityToken;
/** The time the token will expire, if it is an expiring token, in UTC. */
public Date TokenExpiration;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy