| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Source view] [Print] [Project Stats]
The core PHP Yadis implementation. PHP versions 4 and 5
| Author: | JanRain, Inc. <openid@janrain.com> |
| Copyright: | 2005-2008 Janrain, Inc. |
| License: | http://www.apache.org/licenses/LICENSE-2.0 Apache |
| File Size: | 385 lines (12 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Auth_Yadis_DiscoveryResult:: (7 methods):
Auth_Yadis_DiscoveryResult()
fail()
isFailure()
services()
usedYadisLocation()
isXRDS()
Auth_Yadis_getServiceEndpoints()
Auth_Yadis_Yadis:: (5 methods):
getHTTPFetcher()
curlPresent()
_getHeader()
_getContentType()
discover()
Class: Auth_Yadis_DiscoveryResult - X-Ref
Contains the result of performing Yadis discovery on a URI.| Auth_Yadis_DiscoveryResult($request_uri) X-Ref |
| No description |
| fail() X-Ref |
| No description |
| isFailure() X-Ref |
| No description |
| services() X-Ref |
| Returns the list of service objects as described by the XRDS document, if this yadis object represents a successful Yadis discovery. return: array $services An array of {@link Auth_Yadis_Service} |
| usedYadisLocation() X-Ref |
| No description |
| isXRDS() X-Ref |
| No description |
| Auth_Yadis_getServiceEndpoints($input_url, $xrds_parse_func,$discover_func=null, $fetcher=null) X-Ref |
| Perform the Yadis protocol on the input URL and return an iterable of resulting endpoint objects. input_url: The URL on which to perform the Yadis protocol return: : The normalized identity URL and an iterable of endpoint |
Class: Auth_Yadis_Yadis - X-Ref
This is the core of the PHP Yadis library. This is the only class| getHTTPFetcher($timeout = 20) X-Ref |
| Returns an HTTP fetcher object. If the CURL extension is present, an instance of {@link Auth_Yadis_ParanoidHTTPFetcher} is returned. If not, an instance of {@link Auth_Yadis_PlainHTTPFetcher} is returned. If Auth_Yadis_CURL_OVERRIDE is defined, this method will always return a {@link Auth_Yadis_PlainHTTPFetcher}. |
| curlPresent() X-Ref |
| No description |
| _getHeader($header_list, $names) X-Ref |
| _getContentType($content_type_header) X-Ref |
| discover($uri, &$fetcher,$extra_ns_map = null, $timeout = 20) X-Ref |
| This should be called statically and will build a Yadis instance if the discovery process succeeds. This implements Yadis discovery as specified in the Yadis specification. param: string $uri The URI on which to perform Yadis discovery. param: array $http_response An array reference where the HTTP param: Auth_Yadis_HTTPFetcher $fetcher An instance of a param: array $extra_ns_map An array which maps namespace names param: integer $timeout An optional fetcher timeout, in seconds. return: mixed $obj Either null or an instance of |
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |