|
TYPO3 API
SVNRelease
|
Public Member Functions | |
| getHTTPFetcher ($timeout=20) | |
| curlPresent () | |
| _getHeader ($header_list, $names) | |
| _getContentType ($content_type_header) | |
| discover ($uri, $fetcher, $extra_ns_map=null, $timeout=20) | |
| Auth_Yadis_Yadis::_getContentType | ( | $ | content_type_header | ) |
| Auth_Yadis_Yadis::_getHeader | ( | $ | header_list, |
| $ | names | ||
| ) |
| Auth_Yadis_Yadis::curlPresent | ( | ) |
Definition at line 264 of file Yadis.php.
Referenced by getHTTPFetcher().
| Auth_Yadis_Yadis::discover | ( | $ | uri, |
| $ | fetcher, | ||
| $ | extra_ns_map = null, |
||
| $ | timeout = 20 |
||
| ) |
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.
| string | $uri | The URI on which to perform Yadis discovery. |
| array | $http_response | An array reference where the HTTP response object will be stored (see Auth_Yadis_HTTPResponse. |
| Auth_Yadis_HTTPFetcher | $fetcher | An instance of a Auth_Yadis_HTTPFetcher subclass. |
| array | $extra_ns_map | An array which maps namespace names to namespace URIs to be used when parsing the Yadis XRDS document. |
| integer | $timeout | An optional fetcher timeout, in seconds. |
Definition at line 320 of file Yadis.php.
References _getContentType(), _getHeader(), and getHTTPFetcher().
| Auth_Yadis_Yadis::getHTTPFetcher | ( | $ | timeout = 20 | ) |
Returns an HTTP fetcher object. If the CURL extension is present, an instance of Auth_Yadis_ParanoidHTTPFetcher is returned. If not, an instance of Auth_Yadis_PlainHTTPFetcher is returned.
If Auth_Yadis_CURL_OVERRIDE is defined, this method will always return a Auth_Yadis_PlainHTTPFetcher.
Definition at line 253 of file Yadis.php.
References curlPresent().
Referenced by Auth_OpenID_GenericConsumer\Auth_OpenID_GenericConsumer(), and discover().
1.7.5.1