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

# PFAuthenticationLoginWithBattleNetRequest

> PFAuthenticationLoginWithBattleNetRequest データ モデル。

PFAuthenticationLoginWithBattleNetRequest データ モデル。

## 構文

```cpp theme={null}
typedef struct PFAuthenticationLoginWithBattleNetRequest {  
    bool createAccount;  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    const char* identityToken;  
    PFGetPlayerCombinedInfoRequestParams const* infoRequestParameters;  
    const char* playerSecret;  
} PFAuthenticationLoginWithBattleNetRequest;  
```

### メンバー

**`createAccount`**   bool

この ID に現在リンクされている PlayFab アカウントがない場合、自動的に PlayFab アカウントを作成します。

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

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

**`customTagsCount`**   uint32\_t

customTags の数

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

ログイン後に Battle.net から返される JSON Web Token (JWT)。

**`infoRequestParameters`**   PFGetPlayerCombinedInfoRequestParams const\*<br />*may be nullptr*

(オプション) ユーザーに対して返す情報のフラグ。

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

(オプション) API リクエスト署名の検証に使用されるプレイヤー シークレット。

## 要件

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

## 関連項目

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


## Related topics

- [PFAuthenticationLoginWithBattleNetAsync](/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithbattlenetasync.md)
- [PFAuthenticationReLoginWithBattleNetAsync](/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationreloginwithbattlenetasync.md)
- [PFAuthenticationServerLoginWithBattleNetRequest](/ja-jp/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationserverloginwithbattlenetrequest.md)
- [PFAuthenticationServerLoginWithBattleNetAsync](/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithbattlenetasync.md)
- [PFAuthenticationLoginWithBattleNetGetResult](/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithbattlenetgetresult.md)
