> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFAuthenticationLoginWithServerCustomIdRequest

> PFAuthenticationLoginWithServerCustomIdRequest data model.

PFAuthenticationLoginWithServerCustomIdRequest data model.

## Syntax

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

### Members

**`createAccount`**   bool

Automatically create a PlayFab account if one is not currently linked to this ID.

**`customTags`**   PFStringDictionaryEntry const\*\
*may be nullptr*

(Optional) The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

**`customTagsCount`**   uint32\_t

Count of customTags

**`infoRequestParameters`**   PFGetPlayerCombinedInfoRequestParams const\*\
*may be nullptr*

(Optional) Flags for which pieces of info to return for the user.

**`playerSecret`**   const char\*\
*is null-terminated*

(Optional) Player secret that is used to verify API request signatures.

**`serverCustomId`**   const char\*\
*is null-terminated*

The backend server identifier for this player.

## Requirements

**Header:** PFAuthenticationTypes.h

## See also

[PFAuthenticationTypes members](https://docs.xbox.com/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members.md)


## Related topics

- [PFAuthenticationServerLoginWithServerCustomIdAsync](https://docs.xbox.com/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithservercustomidasync.md)
- [Services C API overview - PFAuthenticationTypes.h](https://docs.xbox.com/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members.md)
- [PFAuthenticationServerLoginWithCustomIDRequest](https://docs.xbox.com/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationserverloginwithcustomidrequest.md)
- [Login With Server Custom Id](https://docs.xbox.com/services/playfab/api-references/rest/server/authentication/login-with-server-custom-id.md)
- [PFAuthenticationServerLoginWithPSNRequest](https://docs.xbox.com/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationserverloginwithpsnrequest.md)
