Zend Framework
1.12
|
Public Member Functions | |
__construct ($consumerSecret, $tokenSecret=null, $hashAlgo=null) | |
Constructor. | |
sign (array $params, $method=null, $url=null) | |
Sign a request. | |
normaliseBaseSignatureUrl ($url) | |
Normalize the base signature URL. | |
Protected Member Functions | |
_assembleKey () | |
Assemble key from consumer and token secrets. | |
_getBaseSignatureString (array $params, $method=null, $url=null) | |
Get base signature string. | |
_toByteValueOrderedQueryString (array $params) | |
Transform an array to a byte value ordered query string. | |
Protected Attributes | |
$_hashAlgorithm = null | |
$_key = null | |
$_consumerSecret = null | |
$_tokenSecret = '' | |
__construct | ( | $consumerSecret, | |
$tokenSecret = null , |
|||
$hashAlgo = null |
|||
) |
Constructor.
string | $consumerSecret | |
null | string | $tokenSecret | |
null | string | $hashAlgo |
|
protected |
Assemble key from consumer and token secrets.
|
protected |
Get base signature string.
array | $params | |
null | string | $method | |
null | string | $url |
|
protected |
Transform an array to a byte value ordered query string.
array | $params |
normaliseBaseSignatureUrl | ( | $url | ) |
Normalize the base signature URL.
string | $url |
|
abstract |
Sign a request.
array | $params | |
null | string | $method | |
null | string | $url |
|
protected |
|
protected |
|
protected |
|
protected |