PFAuthenticationReLoginWithGameCenterAsync
Reauthenticates an existing PFEntityHandle. Used to address situations where the EntityToken expired and the PlayFab SDK is unable to refresh it.
Syntax
HRESULT PFAuthenticationReLoginWithGameCenterAsync(
PFEntityHandle entityHandle,
const PFAuthenticationLoginWithGameCenterRequest* request,
XAsyncBlock* async
)
Parameters
entityHandle
PFEntityHandle
PFEntityHandle to re-login.
request
PFAuthenticationLoginWithGameCenterRequest*
Populated request object.
async
XAsyncBlock*
Inout
XAsyncBlock for the async operation.
Return value
Type: HRESULT
Result code for this API operation.
Remarks
Call XAsyncGetStatus to get the status of the operation. If successful, the cached EntityToken for the PFEntityHandle will be updated in place.
Requirements
Header: PFAuthentication.h