Verify a Callback
The vcr object on the SDK allows you to verify whether a callback that your application receives is from the Cloud Runtime platform. This is done by checking if a JWT that has been signed with your Vonage Application's private key. All requests that are made to your instance from the Cloud Runtime platform will have this token in the Authorization header.
Method Signature
Getting your Application URL
You can use verifyAuth in a middleware function, which will throw an error if the token is not valid.