Creates an instance of LocalResponse.
Deserialize the loaded local response into the requested CommonResponse`-derived class.
Typically used when dealing with V2 webhook callbacks.
A class that extends CommonResponse
.
The constructor of the class into which the payload should be deserialized.
An instance of responseClass
populated with the file content.
Returns the HMAC signature of the local response, from the secret key provided.
Secret key, either a string or a byte/byte array.
The HMAC signature of the local response.
Checks if the HMAC signature of the local response is valid.
Secret key, either a string or a byte/byte array.
The signature to be compared with.
True if the HMAC signature is valid.
Local response loaded from a file. Note: Has to be initialized through init() before use.