Package com.openai.models.webhooks
Class WebhookVerificationParams
-
- All Implemented Interfaces:
public final class WebhookVerificationParams
Parameters for webhook signature verification.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
WebhookVerificationParams.Builder
-
Method Summary
Modifier and Type Method Description final ByteArray
payload()
The webhook payload as a byte array final Headers
headers()
The webhook headers final Optional<String>
secret()
The webhook secret (optional, will use client secret if not provided) final Duration
tolerance()
Maximum age of the webhook (default: 5 minutes) Boolean
equals(Object other)
Integer
hashCode()
final static WebhookVerificationParams.Builder
builder()
-
-
Method Detail
-
secret
final Optional<String> secret()
The webhook secret (optional, will use client secret if not provided)
-
builder
final static WebhookVerificationParams.Builder builder()
-
-
-
-