קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מומלץ שהאפליקציה תספק דרך למחיקת השיוך בין האפליקציה לבין החשבון של המשתמש. הוספת היכולת הזו לאפליקציה מאפשרת לכם להגיב לאירוע ולהפעיל לוגיקה מתאימה, כמו מחיקה של מידע אישי שמשויך לחשבון.
בדוגמה הבאה ב-JavaScript מוסבר איך לבטל את ההיקפים של משתמש באופן פרוגרמטי.
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[[["\u003cp\u003eThe Google Sign-In JavaScript library is deprecated and will eventually be sunset.\u003c/p\u003e\n"],["\u003cp\u003eFedCM APIs will be required for Google Sign-In, necessitating an impact assessment to ensure continued functionality.\u003c/p\u003e\n"],["\u003cp\u003eApplications should implement a method for users to disconnect their accounts and delete associated data.\u003c/p\u003e\n"]]],[],null,["# Disconnecting and revoking scopes\n\n| **Warning:** The Google Sign-In library optionally uses FedCM APIs, and their use will become a requirement. [Conduct an impact assessment](/identity/sign-in/web/gsi-with-fedcm) to confirm that user sign-in continues to function as expected. \n|\n| Support for the Google Sign-In library is deprecated, see the [Deprecation and Sunset](/identity/sign-in/web/deprecation-and-sunset) guide for more.\n\nIt is recommended that\nyour app provide a way to delete the association between your app and a\nuser's account. By adding this capability to your app, you can respond to the\nevent and trigger any appropriate logic such as deleting personal information\nassociated with the account.\n\nThe following JavaScript example demonstrates how to revoke a user's scopes\nprogrammatically. \n\n var revokeAllScopes = function() {\n gapi.auth2.getAuthInstance().disconnect();\n }"]]