The notification channel type WebHookChannel2023 as described in https://solid.github.io/notifications/webhook-channel-2023
Requires read permissions on a resource to be able to receive notifications.
Also handles the
state feature if present.
The route corresponding to the URL of the subscription service of this channel type.
The route to the WebID that needs to be used when generating DPoP tokens for notifications.
The StateHandler that will be called after a successful subscription.
The features that need to be enabled for this channel type.
This function will be called after the serialized channel is sent back as a response, allowing for any final actions that need to happen.
The notification channel that is completed.
Returns an N3.js Store containing quads corresponding to the stored SHACL representation. Caches this result so the conversion from JSON-LD to quads only has to happen once.
The generated identifier will be a URL made by combining the base URL of the channel type with a unique identifier.
The values of the default features will be added to the resulting channel, subclasses with additional features that need to be added are responsible for parsing those quads.
Data to convert.
The identifier of the notification channel description in the dataset.
The generated NotificationChannel.
Converts the given channel to a JSON-LD description.
All fields found in the channel, except
lastEmit, will be part of the result subject,
so subclasses should remove any fields that should not be exposed.
Validates whether the given data conforms to the stored SHACL shape. Will throw an UnprocessableEntityHttpError if validation fails. Along with the SHACL check, this also makes sure there is only one matching entry in the dataset.
The data to validate.
The focus node that corresponds to the subject of the found notification channel description.