> ## 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 資料模型。

PFAuthenticationEntityTokenResponse 資料模型。

## 語法

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

### 成員

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

（選擇性）實體識別碼和類型。

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

（選擇性）用來為所有以實體為基礎的 API 呼叫設定 X-EntityToken 的權杖。

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

（選擇性）如果權杖會過期，則為權杖的到期時間 (UTC)。

## 需求

**標頭：** PFAuthenticationTypes.h

## 另請參閱

[PFAuthenticationTypes 成員](/zh-TW/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members)


## Related topics

- [PFAuthenticationAuthenticateCustomIdResult](/zh-TW/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationauthenticatecustomidresult.md)
- [PFAuthenticationServerLoginWithPSNGetResult](/zh-TW/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithpsngetresult.md)
- [PFAuthenticationServerLoginWithIOSDeviceIDGetResult](/zh-TW/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithiosdeviceidgetresult.md)
- [PFAuthenticationServerLoginWithXboxGetResult](/zh-TW/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithxboxgetresult.md)
- [PFAuthenticationServerLoginWithCustomIDGetResult](/zh-TW/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithcustomidgetresult.md)
