আপনি ডিফল্ট স্কোপগুলি ব্যবহার করে Google-এর সাথে কোনও ব্যবহারকারীকে সাইন ইন করার পরে, আপনি ব্যবহারকারীর Google ID, নাম, প্রোফাইল URL এবং ইমেল ঠিকানা অ্যাক্সেস করতে পারেন৷
ব্যবহারকারীর জন্য প্রোফাইল তথ্য পুনরুদ্ধার করতে, getBasicProfile() পদ্ধতি ব্যবহার করুন। যেমন:
// auth2 is initialized with gapi.auth2.init() and a user is signed in.
[null,null,["2025-01-09 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["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."]]],[]]