Oauth/Signature/Plaintext.php

Show: PublicProtectedPrivateinherited
Table of Contents
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

>VPropertyprotectedstring $_consumerSecret = null
inherited
Consumer secret
Inherited from: \Zend_Oauth_Signature_SignatureAbstract::$$_consumerSecret
Default valuenullDetails
Type
string
Inherited_from
\Zend_Oauth_Signature_SignatureAbstract::$$_consumerSecret  
>VPropertyprotectedstring $_hashAlgorithm = null
inherited
Hash algorithm to use when generating signature
Inherited from: \Zend_Oauth_Signature_SignatureAbstract::$$_hashAlgorithm
Default valuenullDetails
Type
string
Inherited_from
\Zend_Oauth_Signature_SignatureAbstract::$$_hashAlgorithm  
>VPropertyprotectedstring $_key = null
inherited
Key to use when signing
Inherited from: \Zend_Oauth_Signature_SignatureAbstract::$$_key
Default valuenullDetails
Type
string
Inherited_from
\Zend_Oauth_Signature_SignatureAbstract::$$_key  
>VPropertyprotectedstring $_tokenSecret = ''
inherited
Token secret
Inherited from: \Zend_Oauth_Signature_SignatureAbstract::$$_tokenSecret
Default value''Details
Type
string
Inherited_from
\Zend_Oauth_Signature_SignatureAbstract::$$_tokenSecret  

Methods

methodpublic__construct(string $consumerSecret, null | string $tokenSecret = null, null | string $hashAlgo = null) : void
inherited

Constructor

Inherited from: \Zend_Oauth_Signature_SignatureAbstract::__construct()
Parameters
NameTypeDescription
$consumerSecretstring
$tokenSecretnull | string
$hashAlgonull | string
methodprotected_assembleKey() : string
inherited

Assemble key from consumer and token secrets

Inherited from: \Zend_Oauth_Signature_SignatureAbstract::_assembleKey()
Returns
TypeDescription
string
methodprotected_getBaseSignatureString(array $params, null | string $method = null, null | string $url = null) : string
inherited

Get base signature string

Inherited from: \Zend_Oauth_Signature_SignatureAbstract::_getBaseSignatureString()
Parameters
NameTypeDescription
$paramsarray
$methodnull | string
$urlnull | string
Returns
TypeDescription
string
methodprotected_toByteValueOrderedQueryString(array $params) : string
inherited

Transform an array to a byte value ordered query string

Inherited from: \Zend_Oauth_Signature_SignatureAbstract::_toByteValueOrderedQueryString()
Parameters
NameTypeDescription
$paramsarray
Returns
TypeDescription
string
methodpublicnormaliseBaseSignatureUrl(string $url) : string
inherited

Normalize the base signature URL

Inherited from: \Zend_Oauth_Signature_SignatureAbstract::normaliseBaseSignatureUrl()
Parameters
NameTypeDescription
$urlstring
Returns
TypeDescription
string
methodpublicsign(array $params, null | string $method = null, null | string $url = null) : string

Sign a request

Parameters
NameTypeDescription
$paramsarray
$methodnull | string
$urlnull | string
Returns
TypeDescription
string
Documentation was generated by phpDocumentor 2.0.0a12.