| [ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Source view] [Print] [Project Stats]
Zend Framework LICENSE
| Copyright: | Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
| License: | http://framework.zend.com/license/new-bsd New BSD License |
| Version: | $Id: Token.php 24593 2012-01-05 20:35:02Z matthew $ |
| File Size: | 285 lines (7 kb) |
| Included or required: | 3 times |
| Referenced: | 0 times |
| Includes or requires: | 1 file include/Zend/Oauth/Http/Utility.php |
| __construct(Zend_Http_Response $response = null,Zend_Oauth_Http_Utility $utility = null) X-Ref |
| Constructor; basic setup for any Token subclass. param: null|Zend_Http_Response $response param: null|Zend_Oauth_Http_Utility $utility return: void |
| isValid() X-Ref |
| Attempts to validate the Token parsed from the HTTP response - really it's just very basic existence checks which are minimal. return: bool |
| getResponse() X-Ref |
| Return the HTTP response object used to initialise this instance. return: Zend_Http_Response |
| setTokenSecret($secret) X-Ref |
| Sets the value for the this Token's secret which may be used when signing requests with this Token. param: string $secret return: Zend_Oauth_Token |
| getTokenSecret() X-Ref |
| Retrieve this Token's secret which may be used when signing requests with this Token. return: string |
| setParam($key, $value) X-Ref |
| Sets the value for a parameter (e.g. token secret or other) and run a simple filter to remove any trailing newlines. param: string $key param: string $value return: Zend_Oauth_Token |
| setParams(array $params) X-Ref |
| Sets the value for some parameters (e.g. token secret or other) and run a simple filter to remove any trailing newlines. param: array $params return: Zend_Oauth_Token |
| getParam($key) X-Ref |
| Get the value for a parameter (e.g. token secret or other). param: string $key return: mixed |
| setToken($token) X-Ref |
| Sets the value for a Token. param: string $token return: Zend_Oauth_Token |
| getToken() X-Ref |
| Gets the value for a Token. return: string |
| __get($key) X-Ref |
| Generic accessor to enable access as public properties. return: string |
| __set($key, $value) X-Ref |
| Generic mutator to enable access as public properties. param: string $key param: string $value return: void |
| toString() X-Ref |
| Convert Token to a string, specifically a raw encoded query string. return: string |
| __toString() X-Ref |
| Convert Token to a string, specifically a raw encoded query string. Aliases to self::toString() return: string |
| _parseParameters(Zend_Http_Response $response) X-Ref |
| Parse a HTTP response body and collect returned parameters as raw url decoded key-value pairs in an associative array. param: Zend_Http_Response $response return: array |
| __sleep() X-Ref |
| Limit serialisation stored data to the parameters |
| __wakeup() X-Ref |
| After serialisation, re-instantiate a HTTP utility class for use |
| Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |