> ## 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.

# PFAuthenticationGetEntityRequest

> PFAuthenticationGetEntityRequest データ モデル。この API は X-SecretKey、X-Authentication、または X-EntityToken ヘッダーで呼び出す必要があります。オプションで EntityKey を含めることができます。

PFAuthenticationGetEntityRequest データ モデル。この API は X-SecretKey、X-Authentication、または X-EntityToken ヘッダーで呼び出す必要があります。オプションで EntityKey を含めて、結果として得られる EntityToken を特定のエンティティに設定しようとすることができますが、そのエンティティは呼び出し元と関係を持つエンティティ (キャラクターの master\_player\_account など) である必要があります。X-EntityToken を送信する場合、アカウントは新たにログインしたものとしてマークされ、新しいトークンが発行されます。X-Authentication または X-EntityToken を使用する場合、ヘッダーは有効である必要があり、有効期限切れや失効していてはなりません。

## 構文

```cpp theme={null}
typedef struct PFAuthenticationGetEntityRequest {  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    PFEntityKey const* entity;  
} PFAuthenticationGetEntityRequest;  
```

### メンバー

**`customTags`**   PFStringDictionaryEntry const\*<br />*may be nullptr*

(オプション) リクエストに関連付けるオプションのカスタム タグ (ビルド番号、外部トレース識別子など)。

**`customTagsCount`**   uint32\_t

customTags の数

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

(オプション) この操作を実行する対象のオプションのエンティティ。既定では、現在ログインしているエンティティになります。

## 要件

**ヘッダー:** PFAuthenticationTypes.h

## 関連項目

[PFAuthenticationTypes のメンバー](/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members)


## Related topics

- [PFAuthenticationGetEntityAsync](/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationgetentityasync.md)
- [PFAuthenticationGetEntityWithSecretKeyAsync](/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationgetentitywithsecretkeyasync.md)
- [PFAuthenticationValidateEntityTokenRequest](/ja-jp/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationvalidateentitytokenrequest.md)
- [PFAuthenticationGetEntityGetResult](/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationgetentitygetresult.md)
- [PFAuthenticationGetEntityWithSecretKeyGetResult](/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationgetentitywithsecretkeygetresult.md)
