Redigera

Dela via


PFAuthenticationLoginWithAppleAsync

Signs in the user with a Sign in with Apple identity token.

Syntax

HRESULT PFAuthenticationLoginWithAppleAsync(  
    PFServiceConfigHandle serviceConfigHandle,  
    const PFAuthenticationLoginWithAppleRequest* request,  
    XAsyncBlock* async  
)  

Parameters

serviceConfigHandle   PFServiceConfigHandle

PFServiceConfigHandle returned from PFServiceConfigCreateHandle call.

request   PFAuthenticationLoginWithAppleRequest*

Populated request object.

async   XAsyncBlock*
Inout

XAsyncBlock for the async operation.

Return value

Type: HRESULT

Result code for this API operation.

Remarks

This API is available on iOS and macOS. See also ClientLinkAppleAsync, ClientUnlinkAppleAsync. When the asynchronous task is complete, call PFAuthenticationLoginWithAppleGetResult to get the result.

Requirements

Header: PFAuthentication.h

See also

PFAuthentication members