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

> Modèle de données PFAuthenticationLoginWithBattleNetRequest.

Modèle de données PFAuthenticationLoginWithBattleNetRequest.

## Syntaxe

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

### Membres

**`createAccount`**   bool

Crée automatiquement un compte PlayFab si aucun n'est actuellement lié à cet ID.

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

(Facultatif) Les balises personnalisées facultatives associées à la requête (par exemple, numéro de build, identificateurs de trace externes, etc.).

**`customTagsCount`**   uint32\_t

Nombre de customTags

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

Jeton JWT (JSON Web Token) retourné par Battle.net après la connexion.

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

(Facultatif) Indicateurs précisant les informations à retourner pour l'utilisateur.

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

(Facultatif) Secret du joueur utilisé pour vérifier les signatures des requêtes d'API.

## Configuration requise

**En-tête :** PFAuthenticationTypes.h

## Voir aussi

[Membres de PFAuthenticationTypes](/fr/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members)


## Related topics

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