{}
The URL to send notifications to.
callbackUrl: string
Whether to subscribe or unsubscribe from notifications.
mode:
HubMode
Whether to subscribe or unsubscribe from notifications.
Aliased type: "subscribe" | "unsubscribe"
The OAuth scope necessary to subscribe to or unsubscribe from the given topic.
scope?: string
The secret to sign the notification payloads with.
secret?: string
What topic URL to subscribe to or unsubscribe from.
topicUrl: string
The number of seconds the subscription is valid for. Defaults to 3600 (1 hour). Can be at most 864000 (10 days).
validityInSeconds?: number
Properties
mode
Type: HubModeWhether to subscribe or unsubscribe from notifications.
Aliased type: "subscribe" | "unsubscribe"
Whether to subscribe or unsubscribe from notifications.
Aliased type: "subscribe" | "unsubscribe"
Whether to subscribe or unsubscribe from notifications.