Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
string $_consumerSecret = 'null'
Consumer secret
string $_hashAlgorithm = 'null'
Hash algorithm to use when generating signature
string $_key = 'null'
Key to use when signing
string $_tokenSecret = ''
Token secret
__construct(
string $consumerSecret, null|string $tokenSecret
=
null, null|string $hashAlgo
=
null
)
:
void
Constructor
_assembleKey(
)
:
string
Assemble key from consumer and token secrets
_getBaseSignatureString(
array $params, null|string $method
=
null, null|string $url
=
null
)
:
string
Get base signature string
_toByteValueOrderedQueryString(
array $params
)
:
string
Transform an array to a byte value ordered query string
normaliseBaseSignatureUrl(
string $url
)
:
string
Normalize the base signature URL
sign(
array $params, null|string $method
=
null, null|string $url
=
null
)
:
string
Sign a request