Skip to main content
PFAccountManagementLinkGooglePlayGamesServicesAccountRequest 数据模型。使用设备上适用于 Android API 的 Google Play Games 登录来获取 Google OAuth 2.0 凭据,然后将其传递给此 API,从而完成 Google Play Games 登录。

语法

成员

customTags PFStringDictionaryEntry const*
may be nullptr
(可选)与请求关联的可选自定义标记(例如构建版本号、外部跟踪标识符等)。 customTagsCount uint32_t customTags 的计数 forceLink bool const*
may be nullptr
(可选)如果另一个用户已链接到该账号,则取消该用户的链接并重新链接。如果当前用户已链接,则同时链接两个账号。 serverAuthCode const char*
is null-terminated
通过在客户端调用 requestServerSideAccess() (https://developers.google.com/games/services/android/signin) Google Play Games 客户端 API 而获得的 OAuth 2.0 服务器身份验证代码。

要求

头文件: PFAccountManagementTypes.h

另请参阅

PFAccountManagementTypes 成员
最后修改于 2026年8月13日