EventRequestOptions
in package
Options for event request parsing.
Table of Contents
Properties
- $skipSignatureValidation : null|callable(): bool
Methods
- __construct() : mixed
- Constructor
Properties
$skipSignatureValidation
public
null|callable(): bool
$skipSignatureValidation
Function that returns boolean to determine if signature validation should be skipped. If the function returns true, the signature verification step is skipped. This can be useful in scenarios such as when you're in the process of updating the channel secret and need to temporarily bypass verification to avoid disruptions. The use of a callable allows dynamic control at runtime.
Methods
__construct()
Constructor
public
__construct([null|callable(): bool $skipSignatureValidation = null ]) : mixed
Parameters
- $skipSignatureValidation : null|callable(): bool = null
-
Function that returns boolean to determine if signature validation should be skipped