Freigeben über


PFAuthenticationLoginWithAppleAsync

Meldet den Benutzer mit einem Anmeldetoken mit Apple-Identität an.

Syntax

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

Parameter

serviceConfigHandle PFServiceConfigHandle

PFServiceConfigHandle wird vom PFServiceConfigCreateHandle-Aufruf zurückgegeben.

request PFAuthenticationLoginWithAppleRequest*

Aufgefülltes Anforderungsobjekt.

async XAsyncBlock*
Inout

XAsyncBlock für den asynchronen Vorgang.

Rückgabewert

Typ: HRESULT

Ergebniscode für diesen API-Vorgang.

Hinweise

Diese API ist unter iOS und macOS verfügbar. Siehe auch ClientLinkAppleAsync, ClientUnlinkAppleAsync. Wenn die asynchrone Aufgabe abgeschlossen ist, rufen Sie PFAuthenticationLoginWithAppleGetResult auf, um das Ergebnis zu erhalten.

Voraussetzungen

Kopfball: PFAuthentication.h

Weitere Informationen

PFAuthentication-Member