> ## 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 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 PFAuthenticationServerLoginWithXboxRequest {  
    bool createAccount;  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    PFGetPlayerCombinedInfoRequestParams const* infoRequestParameters;  
    const char* xboxToken;  
} PFAuthenticationServerLoginWithXboxRequest;  
```

### Membres

**`createAccount`**   bool

Créer 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.

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

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

## Configuration requise

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

## Voir aussi

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


## Related topics

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