HomeDevCentral

Parse signature field from headers

Description

Parse signature field from headers

We offer a HubSignature::parseSignature method to extract the
signature part from an algo=signature header.

Sample code for Laravel 5:

function getSignature() {
    $headerSignature = Request::header('X-Hub-Signature');
    return XHubSignature::parseSignature($headerSignature);
}

Details

Provenance
derecksonAuthored on Nov 22 2015, 09:04
derecksonPushed on Thu, Oct 17, 17:15
Parents
rKERUALD793d4c1cd8eb: Bump version to 0.1.1
Branches
Unknown
Tags
Unknown