跳轉到主要內容
PFAccountManagementLinkGoogleAccountRequest 資料模型。Google 登入的完成方式是:在裝置上使用 Google sign-in for Android API 取得 Google OAuth 2.0 認證,並將其傳遞至此 API。

語法

成員

customTags   PFStringDictionaryEntry const*
may be nullptr
(選擇性)與要求相關聯的選擇性自訂標籤(例如組建編號、外部追蹤識別碼等)。 customTagsCount   uint32_t customTags 的計數 forceLink   bool const*
may be nullptr
(選擇性)如果已有其他使用者連結至此帳戶,則取消連結該使用者並重新連結。如果目前使用者已連結,則連結兩個帳戶。 serverAuthCode   const char*
is null-terminated
(選擇性)在用戶端上透過從 Google Play 為使用者呼叫 getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) 所取得的伺服器驗證碼。

需求

標頭: PFAccountManagementTypes.h

另請參閱

PFAccountManagementTypes 成員
最後修改於 2026年10月6日