This component is to help manage webhooks from the provider side. Well the concept of webhooks isn't super difficult, there are some things to consider:
1) How is the registering client able to verify the request is truly coming from you? 2) How do you setup a consistent mechanism for calling the webhook registrations? 3) What about responses from those webhooks 4) Timeouts? Maybe one client is given a bit more processing for any number of reasons?
This library covers all of that! Each registration gets to configuration for
- Allowed timeslice to return response
- A configured hash that we can sign for the client in order for them to verify our request
- The event they are interested in
Registering a webhook
The first thing is registering a webhook