SDK reference / Models / Push

PushWebChannel

Kind: class

Namespace: Egulu.Sdk.Models.Push

The Web Push channel: the platform holds the VAPID private key; the public key is what the customer's page subscribes with.

Properties

NameTypeJSON nameDescription
KeyCreateTimeDateTimeOffset?keyCreateTimeThe keyCreateTime property
PreviousKeyExpireTimeDateTimeOffset?previousKeyExpireTimeThe previousKeyExpireTime property
PreviousPublicKeystring?previousPublicKeyDuring a rotation, the previous public key; devices that subscribed with it keep working until `previousKeyExpireTime`.
PublicKeystring?publicKeyThe current VAPID public key (base64url): the `applicationServerKey` of `pushManager.subscribe()`.
Statusstring?status`ready` once a key exists.
Subjectstring?subjectThe contact the push services see in the VAPID token (`mailto:` or `https:`).