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

# PFAuthenticationLoginWithAppleAsync

> Conecta o usuário com um token de identidade do Sign in with Apple.

Conecta o usuário com um token de identidade do Sign in with Apple.

## Sintaxe

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

### Parâmetros

**`serviceConfigHandle`**   PFServiceConfigHandle

PFServiceConfigHandle retornado pela chamada de PFServiceConfigCreateHandle.

**`request`**   [PFAuthenticationLoginWithAppleRequest\*](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginwithapplerequest.md)

Objeto de solicitação preenchido.

**`async`**   XAsyncBlock\*\
*Inout*

XAsyncBlock para a operação assíncrona.

### Valor de retorno

Tipo: HRESULT

Código de resultado desta operação de API.

## Comentários

Esta API está disponível no iOS e macOS. Consulte também ClientLinkAppleAsync, ClientUnlinkAppleAsync. Quando a tarefa assíncrona for concluída, chame [PFAuthenticationLoginWithAppleGetResult](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithapplegetresult.md) para obter o resultado.

## Requisitos

**Cabeçalho:** PFAuthentication.h

## Confira também

[Membros de PFAuthentication](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)


## Related topics

- [PFAuthenticationLoginWithAppleGetResult](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithapplegetresult.md)
- [PFAuthenticationLoginWithAppleGetResultSize](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithapplegetresultsize.md)
- [Início rápido iOS](https://docs.xbox.com/pt-BR/services/playfab/sdks/c/quickstart-ios.md)
- [Início rápido macOS](https://docs.xbox.com/pt-BR/services/playfab/sdks/c/quickstart-macos.md)
- [Visão geral da API C do Services - PFAuthentication.h](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)
