Oauth/Token.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-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Oauth
- Version
- $Id$
Package: Zend_Oauth- Children
- \Zend_Oauth_Token_AuthorizedRequest
- \Zend_Oauth_Token_Request
- \Zend_Oauth_Token_Access
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Constants
Properties
Methods
__set(string $key, string $value) : void
Generic mutator to enable access as public properties.
ParametersName | Type | Description |
---|
$key | string | |
---|
$value | string | |
---|
__toString() : string
Convert Token to a string, specifically a raw encoded query string.
Aliases to self::toString()
ReturnsgetParam(string $key) : mixed
Get the value for a parameter (e.g. token secret or other).
ParametersName | Type | Description |
---|
$key | string | |
---|
Returns 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.
ParametersName | Type | Description |
---|
$key | string | |
---|
$value | string | |
---|
Returns 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.
ParametersName | Type | Description |
---|
$params | array | |
---|
Returns setToken(string $token) : \Zend_Oauth_Token
Sets the value for a Token.
ParametersName | Type | Description |
---|
$token | string | |
---|
Returns 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.
ParametersName | Type | Description |
---|
$secret | string | |
---|
Returns