> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFAuthenticationEntityTokenResponse

> PFAuthenticationEntityTokenResponse data model.

PFAuthenticationEntityTokenResponse data model.

## Syntax

```cpp theme={null}
typedef struct PFAuthenticationEntityTokenResponse {  
    PFEntityKey const* entity;  
    const char* entityToken;  
    time_t const* tokenExpiration;  
} PFAuthenticationEntityTokenResponse;  
```

### Members

**`entity`**   PFEntityKey const\*<br />*may be nullptr*

(Optional) The entity id and type.

**`entityToken`**   const char\*<br />*is null-terminated*

(Optional) The token used to set X-EntityToken for all entity based API calls.

**`tokenExpiration`**   time\_t const\*<br />*may be nullptr*

(Optional) The time the token will expire, if it is an expiring token, in UTC.

## Requirements

**Header:** PFAuthenticationTypes.h

## See also

[PFAuthenticationTypes members](/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members)


## Related topics

- [PFAuthenticationAuthenticateCustomIdResult](/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationauthenticatecustomidresult.md)
- [PFAuthenticationServerLoginWithXboxGetResult](/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithxboxgetresult.md)
- [PFAuthenticationServerLoginWithXboxIdGetResult](/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithxboxidgetresult.md)
- [PFAuthenticationServerLoginWithSteamIdGetResult](/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithsteamidgetresult.md)
- [PFAuthenticationServerLoginWithServerCustomIdGetResult](/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithservercustomidgetresult.md)
