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

# PFAuthenticationLoginWithXboxIdRequest

> Modèle de données PFAuthenticationLoginWithXboxIdRequest. Si c'est la première fois qu'un utilisateur se connecte avec l'ID XBOX et que CreateAccount est défini sur true, un nouveau.

Modèle de données PFAuthenticationLoginWithXboxIdRequest. Si c'est la première fois qu'un utilisateur se connecte avec l'ID XBOX et que CreateAccount est défini sur true, un nouveau compte PlayFab sera créé et lié au compte XBOX Live. Dans ce cas, aucune adresse courriel ni aucun nom d'utilisateur ne sera associé au compte PlayFab. Sinon, si aucun compte PlayFab n'est lié au compte XBOX Live, une erreur l'indiquant sera retournée, afin que le titre puisse guider l'utilisateur dans la création d'un compte PlayFab.

## Syntaxe

```cpp theme={null}
typedef struct PFAuthenticationLoginWithXboxIdRequest {  
    bool createAccount;  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    PFGetPlayerCombinedInfoRequestParams const* infoRequestParameters;  
    const char* sandbox;  
    const char* xboxId;  
} PFAuthenticationLoginWithXboxIdRequest;  
```

### 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 (p. ex. numéro de build, identificateurs de trace externes, etc.).

**`customTagsCount`**   uint32\_t

Nombre de customTags

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

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

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

L'ID du bac à sable XBOX Live.

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

Identificateur XBOX unique d'un utilisateur.

## Configuration requise

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

## Voir aussi

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


## Related topics

- [PFAuthenticationServerLoginWithXboxIdAsync](/fr-CA/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithxboxidasync.md)
- [Vue d'ensemble de l'API C Services - PFAuthenticationTypes.h](/fr-CA/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members.md)
- [PFAuthenticationLoginWithXboxRequest](/fr-CA/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginwithxboxrequest.md)
- [PFAuthenticationLoginWithSteamIdRequest](/fr-CA/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginwithsteamidrequest.md)
- [PFAuthenticationLoginWithOpenIdConnectRequest](/fr-CA/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginwithopenidconnectrequest.md)
