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

# PFAuthenticationLoginWithAppleAsync

> Inicia la sesión del usuario con un token de identidad de Sign in with Apple.

Inicia la sesión del usuario con un token de identidad de Sign in with Apple.

## Sintaxis

```cpp theme={null}
HRESULT PFAuthenticationLoginWithAppleAsync(  
    PFServiceConfigHandle serviceConfigHandle,  
    const PFAuthenticationLoginWithAppleRequest* request,  
    XAsyncBlock* async  
)  
```

### Parámetros

**`serviceConfigHandle`**   PFServiceConfigHandle

PFServiceConfigHandle devuelto por la llamada a PFServiceConfigCreateHandle.

**`request`**   [PFAuthenticationLoginWithAppleRequest\*](/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginwithapplerequest)

Objeto de solicitud rellenado.

**`async`**   XAsyncBlock\*<br />*Inout*

XAsyncBlock para la operación asincrónica.

### Valor devuelto

Tipo: HRESULT

Código de resultado de esta operación de API.

## Comentarios

Esta API está disponible en iOS y macOS. Vea también ClientLinkAppleAsync, ClientUnlinkAppleAsync. Cuando se complete la tarea asincrónica, llame a [PFAuthenticationLoginWithAppleGetResult](/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithapplegetresult) para obtener el resultado.

## Requisitos

**Encabezado:** PFAuthentication.h

## Consulte también

[Miembros de PFAuthentication](/services/playfab/api-references/c/pfauthentication/pfauthentication_members)


## Related topics

- [PFAuthenticationLoginWithAppleGetResult](/es/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithapplegetresult.md)
- [PFAuthenticationLoginWithAppleGetResultSize](/es/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithapplegetresultsize.md)
- [Inicio rápido de iOS](/es/services/playfab/sdks/c/quickstart-ios.md)
- [Inicio rápido de macOS](/es/services/playfab/sdks/c/quickstart-macos.md)
- [Información general de la API de C de Services - PFAuthentication.h](/es/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)
