PFAuthenticationReLoginWithXUserAsync
Reauthenticates an existing PFEntityHandle using an XUserHandle. Used to address situations where the EntityToken expired and the PlayFab SDK is unable to refresh it.
Syntax
HRESULT PFAuthenticationReLoginWithXUserAsync(
PFEntityHandle entityHandle,
const PFAuthenticationLoginWithXUserRequest* request,
XAsyncBlock* async
)
Parameters
entityHandle
PFEntityHandle
PFEntityHandle to re-login.
request
PFAuthenticationLoginWithXUserRequest*
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 result of the operation. If successful, the cached EntityToken for the PFEntityHandle will be updated in place.
Requirements
Header: PFAuthentication.h