Edit

PFAuthenticationServerLoginWithBattleNetAsync

Sign in the user with a Battle.net identity token

Syntax

HRESULT PFAuthenticationServerLoginWithBattleNetAsync(  
    PFServiceConfigHandle serviceConfigHandle,  
    const char* secretKey,  
    const PFAuthenticationServerLoginWithBattleNetRequest* request,  
    XAsyncBlock* async  
)  

Parameters

serviceConfigHandle   PFServiceConfigHandle

PFServiceConfigHandle returned from PFServiceConfigCreateHandle call.

secretKey   char*
In_z

Title Secret Key used to authenticate the service request.

request   PFAuthenticationServerLoginWithBattleNetRequest*

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. See also ServerLinkBattleNetAccountAsync, ServerUnlinkBattleNetAccountAsync. When the asynchronous task is complete, call PFAuthenticationServerLoginWithBattleNetGetResult to get the result.

Requirements

Header: PFAuthentication.h

See also

PFAuthentication members