ILIAS
Release_4_4_x_branch Revision 61816
|
Static Public Member Functions | |
static | getHTTPFetcher ($timeout=20) |
Returns an HTTP fetcher object. | |
static | curlPresent () |
static | _getHeader ($header_list, $names) |
private | |
static | _getContentType ($content_type_header) |
private | |
static | 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. |
|
static |
private
Definition at line 288 of file Yadis.php.
Referenced by discover().
|
static |
private
Definition at line 272 of file Yadis.php.
References $n.
Referenced by discover().
|
static |
Definition at line 264 of file Yadis.php.
Referenced by getHTTPFetcher().
|
static |
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 $result, _getContentType(), _getHeader(), Auth_Yadis_CONTENT_TYPE, Auth_Yadis_HEADER_NAME, and getHTTPFetcher().
|
static |
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(), discover(), and Auth_OpenID_CheckIDRequest\returnToVerified().