Sheerwater\HMACRestfulAuthenticator\HMACRestfulAuthenticator::getCanonicalHeaders
Filters all headers for ones starting with 'X-Api-'. All keys are converted to lowercase. You can change 'Api' by setting the HMACRestfulAuthenticator::$apiName config.
Signature
private function getCanonicalHeaders(array
$headers )
Parameters
$headers
— array- An array of HTTP headers to filter
Returns
- array