PFAuthenticationValidateEntityTokenAsync
Method for a server to validate a client provided EntityToken. Only callable by the title entity.
HRESULT PFAuthenticationValidateEntityTokenAsync(
PFEntityHandle entityHandle,
const PFAuthenticationValidateEntityTokenRequest* request,
XAsyncBlock* async
)
entityHandle
PFEntityHandle
PFEntityHandle to use for authentication.
request
PFAuthenticationValidateEntityTokenRequest*
Populated request object.
async
XAsyncBlock*
Inout
XAsyncBlock for the async operation.
Type: HRESULT
Result code for this API operation.
This API is available on Win32, Linux, and macOS. Given an entity token, validates that it hasn't expired or been revoked and will return details of the owner. When the asynchronous task is complete, call PFAuthenticationValidateEntityTokenGetResultSize and PFAuthenticationValidateEntityTokenGetResult to get the result.
Header: PFAuthentication.h