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

> Modelo de dados de PFAuthenticationServerLoginWithXboxRequest. Se esta for a primeira vez que um usuário entra com a conta do XBOX Live e CreateAccount estiver definido como.

Modelo de dados de PFAuthenticationServerLoginWithXboxRequest. Se esta for a primeira vez que um usuário entra com a conta do XBOX Live e CreateAccount estiver definido como true, uma nova conta PlayFab será criada e vinculada à conta do XBOX Live. Nesse caso, nenhum email ou nome de usuário será associado à conta PlayFab. Caso contrário, se nenhuma conta PlayFab estiver vinculada à conta do XBOX Live, será retornado um erro indicando isso, para que o título possa orientar o usuário na criação de uma conta PlayFab.

## Sintaxe

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

### Membros

**`createAccount`**   bool

Criar automaticamente uma conta PlayFab se nenhuma estiver vinculada a esta ID no momento.

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

(Opcional) As marcas personalizadas opcionais associadas à solicitação (por exemplo, número de build, identificadores de rastreamento externos etc.).

**`customTagsCount`**   uint32\_t

Contagem de customTags

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

(Opcional) Sinalizadores que indicam quais informações retornar para o usuário.

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

Token fornecido pelo método GetTokenAndSignatureAsync("POST", "[https://playfabapi.com/](https://playfabapi.com/)", "") do SDK/XDK do XBOX Live.

## Requisitos

**Cabeçalho:** PFAuthenticationTypes.h

## Confira também

[Membros de PFAuthenticationTypes](/pt-BR/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members)


## Related topics

- [PFAuthenticationServerLoginWithXboxAsync](/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithxboxasync.md)
- [Visão geral da API C do Services - PFAuthenticationTypes.h](/pt-BR/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members.md)
- [PFAuthenticationServerLoginWithPSNRequest](/pt-BR/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationserverloginwithpsnrequest.md)
- [PFAuthenticationServerLoginWithXboxIdAsync](/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithxboxidasync.md)
- [PFAuthenticationLoginWithServerCustomIdRequest](/pt-BR/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginwithservercustomidrequest.md)
