Interface InteractionValidator

    • Method Detail

      • validateSignature

        boolean validateSignature​(String signature,
                                  String timestamp,
                                  String body)
        See https://discord.com/developers/docs/interactions/slash-commands#security-and-authorization
        Parameters:
        signature - the signature header of the request
        timestamp - the timestamp header of the request
        body - the body of the request
        Returns:
        true if the request is valid, false otherwise