PFAuthenticationReLoginWithCustomIDAsync
Reauthenticates an existing PFEntityHandle. Used to address situations where the EntityToken expired and the PlayFab SDK is unable to refresh it.
Syntax
HRESULT PFAuthenticationReLoginWithCustomIDAsync(
PFEntityHandle entityHandle,
const PFAuthenticationLoginWithCustomIDRequest* request,
XAsyncBlock* async
)
Parameters
entityHandle
PFEntityHandle
PFEntityHandle to re-login.
request
PFAuthenticationLoginWithCustomIDRequest*
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