Yadis.php File Reference

Go to the source code of this file.

Classes

class  Auth_Yadis_DiscoveryResult
class  Auth_Yadis_Yadis

Enumerations

enum  Auth_Yadis_CONTENT_TYPE
enum  Auth_Yadis_HEADER_NAME

Functions

 Auth_Yadis_getServiceEndpoints ($input_url, $xrds_parse_func, $discover_func=null, $fetcher=null)


Enumeration Type Documentation

The core PHP Yadis implementation.

PHP versions 4 and 5

LICENSE: See the COPYING file included in this distribution.

Author:
JanRain, Inc. <openid@janrain.com> 2005-2008 Janrain, Inc. http://www.apache.org/licenses/LICENSE-2.0 Apache Need both fetcher types so we can use the right one based on the presence or absence of CURL. Need this for parsing HTML (looking for META tags). Need this to parse the XRDS document during Yadis discovery. XRDS (yadis) content type

Definition at line 36 of file Yadis.php.

Yadis header

Definition at line 41 of file Yadis.php.


Function Documentation

Auth_Yadis_getServiceEndpoints ( input_url,
xrds_parse_func,
discover_func = null,
fetcher = null 
)

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

Returns:
: The normalized identity URL and an iterable of endpoint objects generated by the filter function.
xrds_parse_func: a callback which will take (uri, xrds_text) and return an array of service endpoint objects or null. Usually array('Auth_OpenID_ServiceEndpoint', 'fromXRDS').

discover_func: if not null, a callback which should take (uri) and return an Auth_Yadis_Yadis object or null.

Definition at line 136 of file Yadis.php.


Generated on Thu Feb 19 15:02:23 2009 for OXID eShop CE by  doxygen 1.5.5