Oauth/Signature/Plaintext.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 license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Oauth
- Version
- $Id: Plaintext.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Oauth_Signature_Plaintext
Package: Zend\Oauth








- Parent(s)
- \Zend_Oauth_Signature_SignatureAbstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties

string $_consumerSecret = nullDefault value
nullDetails- Type
- string
- Inherited_from
- \Zend_Oauth_Signature_SignatureAbstract::$$_consumerSecret

string $_hashAlgorithm = nullinherited
Hash algorithm to use when generating signature
Inherited from:
\Zend_Oauth_Signature_SignatureAbstract::$$_hashAlgorithmDefault value
nullDetails- Type
- string
- Inherited_from
- \Zend_Oauth_Signature_SignatureAbstract::$$_hashAlgorithm

string $_key = nullDefault value
nullDetails- Type
- string
- Inherited_from
- \Zend_Oauth_Signature_SignatureAbstract::$$_key

string $_tokenSecret = ''Default value
''Details- Type
- string
- Inherited_from
- \Zend_Oauth_Signature_SignatureAbstract::$$_tokenSecret
Methods

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

_assembleKey() : stringinherited
Assemble key from consumer and token secrets
Inherited from: \Zend_Oauth_Signature_SignatureAbstract::_assembleKey()Returns
| Type | Description |
|---|---|
| string |

_getBaseSignatureString(array $params, null | string $method = null, null | string $url = null) : stringinherited
Get base signature string
Inherited from: \Zend_Oauth_Signature_SignatureAbstract::_getBaseSignatureString()Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $params | array | |
| $method | null | string | |
| $url | null | string |
| Type | Description |
|---|---|
| string |

_toByteValueOrderedQueryString(array $params) : stringinherited
Transform an array to a byte value ordered query string
Inherited from: \Zend_Oauth_Signature_SignatureAbstract::_toByteValueOrderedQueryString()Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $params | array |
| Type | Description |
|---|---|
| string |

normaliseBaseSignatureUrl(string $url) : stringinherited
Normalize the base signature URL
Inherited from: \Zend_Oauth_Signature_SignatureAbstract::normaliseBaseSignatureUrl()Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $url | string |
| Type | Description |
|---|---|
| string |