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

# PFAuthenticationServerLoginWithXboxRequest

> Modèle de données PFAuthenticationServerLoginWithXboxRequest. S'il s'agit de la première connexion d'un utilisateur avec le compte XBOX Live et que CreateAccount a la valeur.

Modèle de données PFAuthenticationServerLoginWithXboxRequest. S'il s'agit de la première connexion d'un utilisateur avec le compte XBOX Live et que CreateAccount a la valeur true, un nouveau compte PlayFab sera créé et lié au compte XBOX Live. Dans ce cas, aucune adresse e-mail 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 renvoyée, afin que le titre puisse guider l'utilisateur dans la création d'un compte PlayFab.

## Syntaxe

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

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

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

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

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

Jeton fourni par la méthode GetTokenAndSignatureAsync du SDK/XDK XBOX Live ("POST", "[https://playfabapi.com/](https://playfabapi.com/)", "").

## Configuration requise

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

## Voir aussi

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


## Related topics

- [PFAuthenticationServerLoginWithXboxAsync](/fr/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithxboxasync.md)
- [Vue d'ensemble de l'API C Services - PFAuthenticationTypes.h](/fr/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members.md)
- [PFAuthenticationServerLoginWithPSNRequest](/fr/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationserverloginwithpsnrequest.md)
- [PFAuthenticationServerLoginWithXboxIdAsync](/fr/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithxboxidasync.md)
- [PFAuthenticationServerLoginWithBattleNetRequest](/fr/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationserverloginwithbattlenetrequest.md)
