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.
assembleParams(
string $url, Zend_Oauth_Config_ConfigInterface $config, null|array $serviceProviderParams
=
null
)
:
arrayAssemble all parameters for a generic OAuth request - i.e. no special params other than the defaults expected for any OAuth query.
DetailsgenerateNonce(
)
:
stringGenerate nonce
DetailsgenerateTimestamp(
)
:
intGenerate timestamp
DetailsparseQueryString(
mixed $query
)
:
arrayParse query string
Detailssign(
array $params, string $signatureMethod, string $consumerSecret, null|string $tokenSecret
=
null, null|string $method
=
null, null|string $url
=
null
)
:
stringSign request
DetailstoAuthorizationHeader(
array $params, null|string $realm
=
null, bool $excludeCustomParams
=
true
)
:
voidCast to authorization header
DetailstoEncodedQueryString(
array $params, bool $customParamsOnly
=
false
)
:
stringGiven both OAuth parameters and any custom parametere, generate an encoded query string. This method expects parameters to have been assembled and signed beforehand.
DetailsurlEncode(
string $value
)
:
stringurlencode a value
Details