Validates a Webhook message
Namespace: CTCT.WebhooksAssembly: CTCT (in CTCT.dll) Version: 2.0.0.0 (2.0.0.0)
public bool IsValidWebhook(
string xCtctHmacSHA256,
string bodyMessage
)
public bool IsValidWebhook(
string xCtctHmacSHA256,
string bodyMessage
)
Public Function IsValidWebhook ( _
xCtctHmacSHA256 As String, _
bodyMessage As String _
) As Boolean
Public Function IsValidWebhook ( _
xCtctHmacSHA256 As String, _
bodyMessage As String _
) As Boolean
public:
bool IsValidWebhook(
String^ xCtctHmacSHA256,
String^ bodyMessage
)
public:
bool IsValidWebhook(
String^ xCtctHmacSHA256,
String^ bodyMessage
)
member IsValidWebhook :
xCtctHmacSHA256 : string *
bodyMessage : string -> bool
member IsValidWebhook :
xCtctHmacSHA256 : string *
bodyMessage : string -> bool
Parameters
- xCtctHmacSHA256
- Type: System String
The value in the x-ctct-hmac-sha256 header
- bodyMessage
- Type: System String
The body message from the POST received from ConstantContact in Webhook callback
Return Value
True if in case of success; False if the Webhook is invalid