DVBillingWebhookReceiver class abstract
A provider that accepts signed webhooks.
Separate from DVBillingProvider because not every provider has them:
nothing signs a local grant, and putting an unverified path behind the
same call as the verified ones is worse than not offering it.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signatureHeaderName → String
-
The HTTP header this provider signs under, such as
Stripe-Signature.no setter
Methods
-
handleWebhook(
String payload, String signatureHeader) → Future< DVBillingWebhookResult> -
Verifies
signatureHeaderagainstpayloadand applies the event. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited