Package com.openai.models.webhooks
Class WebhookVerificationParams
-
- All Implemented Interfaces:
public final class WebhookVerificationParamsParameters for webhook signature verification.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classWebhookVerificationParams.Builder
-
Method Summary
Modifier and Type Method Description final ByteArraypayload()The webhook payload as a byte array final Headersheaders()The webhook headers final Optional<String>secret()The webhook secret (optional, will use client secret if not provided) final Durationtolerance()Maximum age of the webhook (default: 5 minutes) Booleanequals(Object other)IntegerhashCode()final static WebhookVerificationParams.Builderbuilder()-
-
Method Detail
-
secret
final Optional<String> secret()
The webhook secret (optional, will use client secret if not provided)
-
builder
final static WebhookVerificationParams.Builder builder()
-
-
-
-