PFAuthenticationLoginWithNintendoServiceAccountAsync
使用 Nintendo 服务帐户令牌让用户登录。
语法
HRESULT PFAuthenticationLoginWithNintendoServiceAccountAsync(
PFServiceConfigHandle serviceConfigHandle,
const PFAuthenticationLoginWithNintendoServiceAccountRequest* request,
XAsyncBlock* async
)
参数
serviceConfigHandle
PFServiceConfigHandle
从 PFServiceConfigCreateHandle 调用返回的 PFServiceConfigHandle。
request
PFAuthenticationLoginWithNintendoServiceAccountRequest*
已填充的请求对象。
async
XAsyncBlock*
Inout
异步操作的 XAsyncBlock。
返回值
类型:HRESULT
此 API 操作的结果代码。
备注
此 API 在 Nintendo Switch 上可用。 另请参阅 ClientLinkNintendoServiceAccountAsync、ClientUnlinkNintendoServiceAccountAsync。 异步任务完成后,请调 PFAuthenticationLoginWithNintendoServiceAccountGetResult 获取结果。
要求
标头:PFAuthentication.h