Oauth/Signature/SignatureAbstract.php
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 [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Oauth
- Version
- $Id$
\Zend_Oauth_Signature_SignatureAbstract
Package: Zend_Oauth




- Children
- \Zend_Oauth_Signature_Hmac
- \Zend_Oauth_Signature_Plaintext
- \Zend_Oauth_Signature_Rsa
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties

string $_hashAlgorithm = nullHash algorithm to use when generating signature
Default value
nullDetails- Type
- string
Methods

__construct(string $consumerSecret, null | string $tokenSecret = null, null | string $hashAlgo = null) : voidConstructor
Parameters
| Name | Type | Description |
|---|---|---|
| $consumerSecret | string | |
| $tokenSecret | null | string | |
| $hashAlgo | null | string |

_getBaseSignatureString(array $params, null | string $method = null, null | string $url = null) : stringGet base signature string
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $params | array | |
| $method | null | string | |
| $url | null | string |
| Type | Description |
|---|---|
| string |

_toByteValueOrderedQueryString(array $params) : stringTransform an array to a byte value ordered query string
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $params | array |
| Type | Description |
|---|---|
| string |

normaliseBaseSignatureUrl(string $url) : stringNormalize the base signature URL
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $url | string |
| Type | Description |
|---|---|
| string |