DefaultWebhookSignatureParams class
A default implementation of IsValidWebhookSignatureParams.
- Implemented types
Constructors
- DefaultWebhookSignatureParams({required String payload, required String signature, required String secret})
- Constructor that requires all necessary parameters.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- payload → String
-
The raw body of the webhook request.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secret → String
-
The secret key used to compute the expected signature.
final
- signature → String
-
The signature provided with the webhook (typically from a request header).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts the object into a JSON representation.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited