Emits a notification representation using the WebHookChannel2023 specification.

At the time of writing it is not specified how exactly a notification sender should make its requests verifiable, so for now we use a token similar to those from Solid-OIDC, signed by the server itself.

Generates a DPoP token and proof, and adds those to the HTTP request that is sent to the target.

The expiration input parameter is how long the generated token should be valid in minutes. Default is 20.

Hierarchy

Constructors

Properties

expiration: number
issuer: string
jwkGenerator: JwkGenerator
logger: Logger = ...
webId: string

Methods