Skip to content

Latest commit

Β 

History

History
12 lines (10 loc) Β· 1.92 KB

File metadata and controls

12 lines (10 loc) Β· 1.92 KB

WebPushToken

Properties

Name Type Required Description
createdAt String βœ… The timestamp when the token was created.
endpoint String βœ… The push subscription URL obtained from PushSubscription.endpoint after calling registration.pushManager.subscribe(). This is the unique URL for this device that push messages will be sent to.
id String βœ… The unique identifier for the token.
keys WebPushTokenKeys βœ… The encryption keys from the PushSubscription.getKey() method, needed to encrypt push messages for this subscription.
discardedAt String ❌ The timestamp when the token was discarded, if applicable.
updatedAt String ❌ The timestamp when the token metadata last changed.