Validates a payload from Discord against its signature and key.
The raw payload data
The signature from the X-Signature-Ed25519 header
X-Signature-Ed25519
The timestamp from the X-Signature-Timestamp header
X-Signature-Timestamp
The public key from the Discord developer dashboard
Whether or not validation was successful
Generated using TypeDoc
Validates a payload from Discord against its signature and key.