checkSignature(Defined in: twitch.ts:117 This method can be used to verify the Twitch signature when receiving an event sub request.algorithm,signature,data):boolean
Parameters
algorithm
string
The algorithm to use
signature
string
The signature to verify
data
BinaryLike
The data to verify
Returns
boolean
Whether or not the signature is valid