View Source SignalWire.RequestValidator (signal_wire v0.1.0)

Validates the authenticity of a SignalWire Request

Code is based off of libe/webhooks/webhooks.js RestClient#validateRequest/5

It looks like they are doing nearly the exact same thing as Twilio. The only two differences are handling lists when encoding params and handling check with and without the url's port

Summary

Functions

Link to this function

check_validity(url, params, signature, signing_key)

View Source
Link to this function

valid?(url, params, signature, signing_key)

View Source