\VivialConnect\FiltersHmacAuth

Summary

Methods
Properties
Constants
computeSignature()
getTimeStamp()
getCanonicalizeHeaderNames()
getCanonicalizedHeaderString()
getCanonicalRequest()
getCanonicalizedResourcePath()
getCanonicalizedQueryString()
sign()
peel()
No public properties found
AUTH_PREFIX
X_AUTH_DATE
HTTP_DATE_FORMAT
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

AUTH_PREFIX

AUTH_PREFIX

X_AUTH_DATE

X_AUTH_DATE

HTTP_DATE_FORMAT

HTTP_DATE_FORMAT

Methods

computeSignature()

computeSignature(  $endpointUrl,   $httpMethod, array  $headers = NULL, array  $queryParameters = NULL,   $body,   $apiKey,   $apiSecret,   $requestTimeStamp) 

Parameters

$endpointUrl
$httpMethod
array $headers
array $queryParameters
$body
$apiKey
$apiSecret
$requestTimeStamp

getTimeStamp()

getTimeStamp(  $datenow) 

Parameters

$datenow

getCanonicalizeHeaderNames()

getCanonicalizeHeaderNames(array  $headers) 

Parameters

array $headers

getCanonicalizedHeaderString()

getCanonicalizedHeaderString(array  $headers) 

Parameters

array $headers

getCanonicalRequest()

getCanonicalRequest(  $endpoint,   $httpMethod,   $canonQueryParameters,   $canonHeaderNames,   $canonHeaders,   $bodyHash,   $requestTimeStamp) 

Parameters

$endpoint
$httpMethod
$canonQueryParameters
$canonHeaderNames
$canonHeaders
$bodyHash
$requestTimeStamp

getCanonicalizedResourcePath()

getCanonicalizedResourcePath(  $endpoint) 

Parameters

$endpoint

getCanonicalizedQueryString()

getCanonicalizedQueryString(array  $parameters = NULL) 

Parameters

array $parameters

sign()

sign(  $stringData,   $secret,   $algorithm) 

Parameters

$stringData
$secret
$algorithm

peel()

peel(\VivialConnect\Resources\Request  $object, \Closure  $next) 

Parameters

\VivialConnect\Resources\Request $object
\Closure $next