Table of Contents

TTMSFNCWebPushSubscription Record

Holds the connection details a client browser returns when it subscribes to web push notifications. These values identify the push endpoint and provide the cryptographic material needed to encrypt messages for that subscriber.

API unit family: TMS.TMSFNCWebPushCommon

Syntax

TTMSFNCWebPushSubscription = record

Fields and properties

Name Type Description
Auth string Authentication secret supplied by the subscribing client, used as input to the message encryption.
Endpoint string URL of the push service endpoint the message is delivered to for this subscriber.
P256DH string Client public key (P-256 ECDH) used to derive the shared secret that encrypts the payload sent to this subscriber.
UserData string Application-defined value associated with the subscription. Use it to correlate a subscription with an internal user or device record.