我经历了有关web push notifications
的教程:
https://developers.google.com/web/fundamentals/codelabs/push-notifications
目前尚不清楚,当用户订阅web push notification
时将如何识别用户?在功能subscribeUser()
中,我仅看到提供的applicationServerKey
,没有cookie
或userId
(idk),以后可以检索该IDK以验证该用户是否已实际订阅。用户身份如何处理?