DevicePushSubscription

data class DevicePushSubscription(var endpoint: String, var publicKey: String, var authKey: String)

Details of a web-push subscription endpoint.

This struct encapsulates the details of a web-push subscription endpoint, including all the information necessary to send a notification to its owner. Devices attached to the user's account may register one of these in order to receive timely updates about account-related events.

Managing a web-push subscription is outside of the scope of this component.

Constructors

Link copied to clipboard
constructor(endpoint: String, publicKey: String, authKey: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard