Package ai.extend.wrapper.webhooks
Class VerifyAndParseOptions
- java.lang.Object
-
- ai.extend.wrapper.webhooks.VerifyAndParseOptions
-
public class VerifyAndParseOptions extends java.lang.ObjectOptions for webhook signature verification and parsing.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVerifyAndParseOptions.BuilderBuilder forVerifyAndParseOptions.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VerifyAndParseOptions.Builderbuilder()Creates a new builder with default values.static VerifyAndParseOptionsdefaults()Creates default options.intgetMaxAgeSeconds()Returns the maximum age of the request in seconds.booleanisAllowSignedUrl()Returns whether signed URL payloads are allowed.VerifyOptionstoVerifyOptions()Converts toVerifyOptions.
-
-
-
Method Detail
-
getMaxAgeSeconds
public int getMaxAgeSeconds()
Returns the maximum age of the request in seconds. Set to 0 to disable timestamp validation.
-
isAllowSignedUrl
public boolean isAllowSignedUrl()
Returns whether signed URL payloads are allowed.
-
toVerifyOptions
public VerifyOptions toVerifyOptions()
Converts toVerifyOptions.
-
builder
public static VerifyAndParseOptions.Builder builder()
Creates a new builder with default values.
-
defaults
public static VerifyAndParseOptions defaults()
Creates default options.
-
-