Skip to content

Latest commit

 

History

History
58 lines (36 loc) · 1.68 KB

pfauthenticationauthenticategameserverwithcustomidasync.md

File metadata and controls

58 lines (36 loc) · 1.68 KB
author title description ms.author ms.topic ms.service ms.date
jasonsandlin
PFAuthenticationAuthenticateGameServerWithCustomIdAsync
Create a game_server entity token and return a new or existing game_server entity.
jasonsa
reference
playfab
02/22/2024

PFAuthenticationAuthenticateGameServerWithCustomIdAsync

Create a game_server entity token and return a new or existing game_server entity.

Syntax

HRESULT PFAuthenticationAuthenticateGameServerWithCustomIdAsync(  
    PFEntityHandle entityHandle,  
    const PFAuthenticationAuthenticateCustomIdRequest* request,  
    XAsyncBlock* async  
)  

Parameters

entityHandle   PFEntityHandle

PFEntityHandle to use for authentication.

request   PFAuthenticationAuthenticateCustomIdRequest*

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 Win32, Linux, and macOS. Create or return a game_server entity token. Caller must be a title entity. When the asynchronous task is complete, call PFAuthenticationAuthenticateGameServerWithCustomIdGetResultSize and PFAuthenticationAuthenticateGameServerWithCustomIdGetResult to get the result.

Requirements

Header: PFAuthentication.h

See also

PFAuthentication members