API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
Auth_Yadis_Yadis::_getContentType | ( | $ | content_type_header | ) |
Auth_Yadis_Yadis::_getHeader | ( | $ | header_list, |
$ | names | ||
) |
Auth_Yadis_Yadis::curlPresent | ( | ) |
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. |
Références $uri, _getContentType(), _getHeader(), et 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.
Références curlPresent().
Référencé par Auth_OpenID_GenericConsumer::Auth_OpenID_GenericConsumer(), et discover().