Пропуски с ограниченным доступом к учетной записи
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Что такое пропуски с ограниченным доступом к учетной записи?
Новая функция, которая позволяет разработчикам связывать некоторые объекты пропусков с учетными записями Google, что ограничивает круг лиц, которые могут сохранять пропуск.
Как это работает?
Вы устанавливаете адрес электронной почты пользователя в объекте пропуска с помощью API Google Кошелька. Когда пользователь пытается сохранить этот пропуск в Google Кошельке, мы проверяем, что учетная запись, указанная в объекте пропуска, соответствует учетной записи Google пользователя Google Кошелька, сохраняющего пропуск.
Это звучит великолепно! Как мне получить доступ к этой функции?
Мы тестируем эту функцию с небольшим количеством разработчиков. Если вы заинтересованы, обратитесь в службу поддержки в консоли Google Pay & Wallet и отправьте запрос в службу поддержки в теме: «Интеграция API Google Кошелька», подтема: «Другое» и включите в описание проблемы: «Запрос на доступ к учетной записи с ограниченным доступом». Мы сообщим вам, когда вы сможете получить к нему доступ.
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-08-29 UTC.
[null,null,["Последнее обновление: 2025-08-29 UTC."],[[["\u003cp\u003eAccount Restricted Passes are a new feature allowing developers to link specific pass objects to Google accounts, restricting who can save them.\u003c/p\u003e\n"],["\u003cp\u003eThis feature works by verifying the Google Account of the user saving the pass against the account associated with the pass object using the Google Wallet API.\u003c/p\u003e\n"],["\u003cp\u003eThe feature is currently in limited testing, and interested developers can request access through Google Pay & Wallet Console support.\u003c/p\u003e\n"]]],["Developers can use Account Restricted Passes to link pass objects to specific Google accounts, limiting who can save them. This is done by setting the user's email on the pass object via the Google Wallet API. When a user attempts to save the pass, the system verifies that the pass's email matches the user's Google account. To gain access to this feature, developers must contact support through the Google Pay & Wallet Console, using the specified topic and subtopic, and requesting \"Account Restricted Passes Access.\"\n"],null,["# Account Restricted Passes\n\n#### What are Account Restricted Passes?\n\n\nA new feature that lets developers associate some pass objects with Google accounts which limits\nwho can save the pass.\n\n#### How does it work?\n\n\nYou set the user's email address on the pass object using the Google Wallet API. When the user\nattempts to save that pass to Google Wallet, we validate that the account set on the pass object\nmatches the Google Account of the Google Wallet user saving the pass.\n\n#### That sounds great! How do I get access to this feature?\n\n\nWe're testing the feature with a small number of developers. If you are interested,\n[contact support](https://support.google.com/google-pay-and-wallet-console/answer/10913634?zippy=%2Cbusiness-profile)\nin the [Google Pay \\& Wallet Console](https://goo.gle/wallet-console) and\nfile a support case under Topic: \"Google Wallet API Integration\", Subtopic: \"Other\"\nand include in the issue description: \"Account Restricted Passes Access Request\".\nWe'll let you know when you can access it."]]