Package com.ngrok

Class Http.WebhookVerification

  • Enclosing interface:
    Http

    public static class Http.WebhookVerification
    extends Object
    Represents webhook verification options for an HTTP listener.
    See Also:
    Webhook Verification in the ngrok docs for additional details.
    • Constructor Detail

      • WebhookVerification

        public WebhookVerification​(String provider,
                                   String secret)
        Constructs a new set of webhook verification options with the specified provider and secret.
        Parameters:
        provider - the provider
        secret - the secret
    • Method Detail

      • getProvider

        public String getProvider()
        Returns the provider for the webhook verification.
        Returns:
        the provider
      • getSecret

        public String getSecret()
        Returns the secret for the webhook verification.
        Returns:
        the secret