Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Bạn nên cung cấp cách xoá mối liên kết giữa ứng dụng và tài khoản của người dùng. Bằng cách thêm chức năng này vào ứng dụng, bạn có thể phản hồi sự kiện và kích hoạt bất kỳ logic thích hợp nào, chẳng hạn như xoá thông tin cá nhân liên kết với tài khoản.
Ví dụ sau đây về JavaScript minh hoạ cách thu hồi phạm vi của người dùng bằng cách lập trình.
[null,null,["Cập nhật lần gần đây nhất: 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 }"]]