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.

__construct(
null|array $data
=
null, null|\Zend_Oauth_Http_Utility $utility
=
null
)
:
void
Constructor
Name | Type | Description |
---|---|---|
$data | null|array | |
$utility | null|\Zend_Oauth_Http_Utility |

__get(
$key
)
:
string
Generic accessor to enable access as public properties.
Inherited from: \Zend_Oauth_Token::__get()Name | Type | Description |
---|---|---|
$key |
Type | Description |
---|---|
string |

__set(
string $key, string $value
)
:
void
Generic mutator to enable access as public properties.
Inherited from: \Zend_Oauth_Token::__set()Name | Type | Description |
---|---|---|
$key | string | |
$value | string |

__sleep(
)
:
void
Limit serialisation stored data to the parameters
Inherited from: \Zend_Oauth_Token::__sleep()
__toString(
)
:
string
Convert Token to a string, specifically a raw encoded query string.
Inherited from: \Zend_Oauth_Token::__toString()Aliases to self::toString()
Type | Description |
---|---|
string |

__wakeup(
)
:
void
After serialisation, re-instantiate a HTTP utility class for use
Inherited from: \Zend_Oauth_Token::__wakeup()
_parseParameters(
\Zend_Http_Response $response
)
:
array
Parse a HTTP response body and collect returned parameters as raw url decoded key-value pairs in an associative array.
Inherited from: \Zend_Oauth_Token::_parseParameters()
getParam(
string $key
)
:
mixed
Get the value for a parameter (e.g. token secret or other).
Inherited from: \Zend_Oauth_Token::getParam()Name | Type | Description |
---|---|---|
$key | string |
Type | Description |
---|---|
mixed |

getResponse(
)
:
\Zend_Http_Response
Return the HTTP response object used to initialise this instance.
Inherited from: \Zend_Oauth_Token::getResponse()Type | Description |
---|---|
\Zend_Http_Response |

getToken(
)
:
string
Gets the value for a Token.
Inherited from: \Zend_Oauth_Token::getToken()Type | Description |
---|---|
string |

getTokenSecret(
)
:
string
Retrieve this Token's secret which may be used when signing requests with this Token.
Inherited from: \Zend_Oauth_Token::getTokenSecret()Type | Description |
---|---|
string |

setParam(
string $key, string $value
)
:
\Zend_Oauth_Token
Sets the value for a parameter (e.g. token secret or other) and run a simple filter to remove any trailing newlines.
Inherited from: \Zend_Oauth_Token::setParam()Name | Type | Description |
---|---|---|
$key | string | |
$value | string |
Type | Description |
---|---|
\Zend_Oauth_Token |

setParams(
array $params
)
:
\Zend_Oauth_Token
Sets the value for some parameters (e.g. token secret or other) and run a simple filter to remove any trailing newlines.
Inherited from: \Zend_Oauth_Token::setParams()
setToken(
string $token
)
:
\Zend_Oauth_Token
Sets the value for a Token.
Inherited from: \Zend_Oauth_Token::setToken()
setTokenSecret(
string $secret
)
:
\Zend_Oauth_Token
Sets the value for the this Token's secret which may be used when signing requests with this Token.
Inherited from: \Zend_Oauth_Token::setTokenSecret()
toString(
)
:
string
Convert Token to a string, specifically a raw encoded query string.
Inherited from: \Zend_Oauth_Token::toString()Type | Description |
---|---|
string |