Parameters object expected by the validateSignedEventMiddleware

Hierarchy

  • ValidateSignedEventParams

Properties

Used to determine which events the service is expecting to receive. Passing a list of all builders used by setupMessagingBroker is recommended.

extraTrustedPublicKeys?: PublicSigningKey[]

An optional array of trusted public keys that are not registered with the Key service. Could be used by customizable services if event signing is enabled for customizable services. If not specified - validation of events originating from customizable services will be skipped, assuming that event signing is not enabled for them. Alternatively, might useful for specifying services own key, if registration is delayed.

getTokenCallback: GetEventSigningTokenFunc

Function to retrieve authorization token result to make a request to the Key Service

keyServiceBaseUrl: string

Base URL of Mosaic Key Service

Generated using TypeDoc