Méthode | Description | |
---|---|---|
generateSignature ( string $webhook_key, string $url, array $params ) | https://mandrill.zendesk.com/hc/en-us/articles/205583257-How-to-Authenticate-Webhook-Requests Generates a base64-encoded signature for a Mandrill webhook request. | |
handleWebHook ( Illuminate\Http\Request $request ) : |
Handle the Mandrill webhook and call method if available |
Méthode | Description | |
---|---|---|
getJsonPayloadFromRequest ( $request ) : array | Pull the Mandrill payload from the json | |
validateSignature ( Illuminate\Http\Request $request ) : boolean | Validates the signature of a mandrill request if key is set |
public handleWebHook ( Illuminate\Http\Request $request ) : |
||
$request | Illuminate\Http\Request | |
Résultat |