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

# PFAuthenticationAuthenticateCustomIdResult

> PFAuthenticationAuthenticateCustomIdResult data model.

PFAuthenticationAuthenticateCustomIdResult data model.

## Syntax

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

### Members

**`entityToken`**   const [PFAuthenticationEntityTokenResponse\*](https://docs.xbox.com/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationentitytokenresponse.md)\
*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](https://docs.xbox.com/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members.md)


## Related topics

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