PFAuthenticationServerLoginWithBattleNetAsync

Battle.net ID トークンを使用してユーザーをサインインする

構文

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

パラメーター

serviceConfigHandle PFServiceConfigHandle

PFServiceConfigCreateHandle 呼び出しから返される PFServiceConfigHandle。

secretKey char*
In_z

サービス要求の認証に使用されるタイトル秘密鍵。

request PFAuthenticationServerLoginWithBattleNetRequest*

設定された要求オブジェクト。

async XAsyncBlock*
Inout

非同期操作の XAsyncBlock。

戻り値

型: HRESULT

この API 操作の結果コード。

解説

この API は Windows で使用できます。 See also ServerLinkBattleNetAccountAsync、ServerUnlinkBattleNetAccountAsync も参照してください。 非同期タスクが完了したら、PFAuthenticationServerLoginWithBattleNetGetResult を呼び出して結果を取得します。

要件

ヘッダー: PFAuthentication.h

関連項目

PFAuthentication メンバー