Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Important
XBOX Docs are now on docs.xbox.com! This page is kept as an archive and is no longer being updated. Visit our documentation on docs.xbox.com for the latest information and updates.
Method to exchange a legacy AuthenticationTicket or title SecretKey for an Entity Token or to refresh a still valid Entity Token.
Syntax
HRESULT PFAuthenticationGetEntityAsync(
PFEntityHandle entityHandle,
const PFAuthenticationGetEntityRequest* request,
XAsyncBlock* async
)
Parameters
entityHandle PFEntityHandle
PFEntityHandle to use for authentication.
request PFAuthenticationGetEntityRequest*
Populated request object.
async XAsyncBlock*
Inout
XAsyncBlock for the async operation.
Return value
Type: HRESULT
Result code for this API operation.
Remarks
This API is available on Windows, Linux, and macOS. This API must be called with X-SecretKey, X-Authentication or X-EntityToken headers. The header must still be valid and cannot be expired or revoked.If successful, it will issue a new entity token and emit the 'entity_logged_in' PlayStream event. When the asynchronous task is complete, call PFAuthenticationGetEntityGetResult to get the result.
Requirements
Header: PFAuthentication.h