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

# PFEntityToken

> EntityToken de PlayFab y su hora de expiración. Se usa para autenticar las llamadas al servicio de PlayFab.

EntityToken de PlayFab y su hora de expiración. Se usa para autenticar las llamadas al servicio de PlayFab.

## Sintaxis

```cpp theme={null}
typedef struct PFEntityToken {  
    const char* token;  
    time_t const* expiration;  
} PFEntityToken;  
```

### Miembros

**`token`**   const char\*

El token usado para establecer X-EntityToken en todas las llamadas de API basadas en entidades.

**`expiration`**   time\_t const\*

(Opcional) La hora a la que expirará el token, si es un token con expiración, en UTC.

## Requisitos

**Encabezado:** PFEntity.h

## Consulte también

[Miembros de PFEntity](/services/playfab/api-references/c/pfentity/pfentity_members)


## Related topics

- [PFEntityTokenRefreshedEventHandler](/es/services/playfab/api-references/c/pfentity/functions/pfentitytokenrefreshedeventhandler.md)
- [PFEntityGetEntityTokenAsync](/es/services/playfab/api-references/c/pfentity/functions/pfentitygetentitytokenasync.md)
- [PFEntityGetEntityTokenResult](/es/services/playfab/api-references/c/pfentity/functions/pfentitygetentitytokenresult.md)
- [Información general de la API de C de Services - PFEntity.h](/es/services/playfab/api-references/c/pfentity/pfentity_members.md)
- [Inicio rápido del GDK](/es/services/playfab/sdks/c/quickstart-gdk.md)
