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

# PFAuthenticationAuthenticateCustomIdResult

> PFAuthenticationAuthenticateCustomIdResult data model.

PFAuthenticationAuthenticateCustomIdResult data model.

## Syntax

```cpp theme={null}
typedef struct PFAuthenticationAuthenticateCustomIdResult {  
    PFAuthenticationEntityTokenResponse const* entityToken;  
    bool newlyCreated;  
} PFAuthenticationAuthenticateCustomIdResult;  
```

### Members

**`entityToken`**   [PFAuthenticationEntityTokenResponse](/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationentitytokenresponse) const\*<br />*may be nullptr*

(Optional) The token generated used to set X-EntityToken for game\_server calls.

**`newlyCreated`**   bool

True if the account was newly created on this authentication.

## Requirements

**Header:** PFAuthenticationTypes.h

## See also

[PFAuthenticationTypes members](/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members)


## Related topics

- [Services C API overview - PFAuthenticationTypes.h](/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members.md)
- [PFAuthenticationAuthenticateGameServerWithCustomIdGetResult](/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationauthenticategameserverwithcustomidgetresult.md)
- [PFAuthenticationAuthenticateGameServerWithCustomIdAsync](/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationauthenticategameserverwithcustomidasync.md)
- [PFAuthenticationAuthenticateCustomIdRequest](/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationauthenticatecustomidrequest.md)
- [PFAuthenticationServerLoginWithServerCustomIdGetResult](/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithservercustomidgetresult.md)
