Interface DeviceTokenWebPush

A token for web Push API. Subtype of DeviceToken.

interface DeviceTokenWebPush {
    @type: "deviceTokenWebPush";
    auth_base64url: string;
    endpoint: string;
    p256dh_base64url: string;
}

Properties

@type: "deviceTokenWebPush"
auth_base64url: string

Base64url-encoded authentication secret.

endpoint: string

Absolute URL exposed by the push service where the application server can send push messages; may be empty to deregister a device.

p256dh_base64url: string

Base64url-encoded P-256 elliptic curve Diffie-Hellman public key.