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

> 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\*](/pt-BR/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginwithapplerequest)

Objeto de solicitação preenchido.

**`async`**   XAsyncBlock\*<br />*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](/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithapplegetresult) para obter o resultado.

## Requisitos

**Cabeçalho:** PFAuthentication.h

## Confira também

[Membros de PFAuthentication](/pt-BR/services/playfab/api-references/c/pfauthentication/pfauthentication_members)


## Related topics

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