بعد تسجيل مستخدم الدخول باستخدام حساب Google باستخدام النطاقات التلقائية، يمكنك
الوصول إلى رقم تعريف المستخدم على Google واسمه وعنوان URL الخاص بملفه الشخصي وعنوان بريده الإلكتروني.
لاسترداد معلومات الملف الشخصي لمستخدم، استخدِم الطريقة getBasicProfile(). على سبيل المثال:
// auth2 is initialized with gapi.auth2.init() and a user is signed in.
تاريخ التعديل الأخير: 2024-11-22 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-11-22 (حسب التوقيت العالمي المتفَّق عليه)"],[[["Google Sign-In library support is deprecated, and migration to FedCM APIs will be mandatory soon, requiring an impact assessment."],["After user sign-in, you can access basic profile information like Google ID, name, profile URL, and email address."],["Instead of Google IDs or profile data, utilize ID tokens for secure backend server authentication."],["Google account email addresses are subject to change, so use the account's ID for user identification on both client and backend."]]],[]]