PFAuthenticationGetEntityWithSecretKeyGetResult
Gets the result of a successful PFAuthenticationGetEntityWithSecretKeyAsync call.
Syntax
HRESULT PFAuthenticationGetEntityWithSecretKeyGetResult(
XAsyncBlock* async,
PFEntityHandle* entityHandle
)
Parameters
async
XAsyncBlock*
Inout
XAsyncBlock for the async operation.
entityHandle
PFEntityHandle*
output
PFEntityHandle which can be used to authenticate other PlayFab API calls.
Return value
Type: HRESULT
Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_ENCRYPTION_KEY_BROKEN, E_PF_NO_VALID_CERTIFICATE_FOR_AAD or any of the global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.
Remarks
If the PFAuthenticationGetEntityWithSecretKeyAsync call fails, entityHandle with be null. Otherwise, the handle must be closed with PFEntityCloseHandle when it is no longer needed.
Requirements
Header: PFAuthentication.h