[ class tree: OpenID ] [ index: OpenID ] [ all elements ]

Procedural File: Yadis.php

Source Location: /zp-extensions/federated_logon/Auth/Yadis/Yadis.php

Page Details

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>
Copyright:  2005-2008 Janrain, Inc.
License:  Apache
Classes
Class Description
Auth_Yadis_DiscoveryResult Contains the result of performing Yadis discovery on a URI.
Auth_Yadis_Yadis This is the core of the PHP Yadis library. This is the only class a user needs to use to perform Yadis discovery. This class performs the discovery AND stores the result of the discovery.
Includes
require_once ("Auth/Yadis/PlainHTTPFetcher.php") [line 20]

Need both fetcher types so we can use the right one based on the presence or absence of CURL.

[ Top ]

require_once ("Auth/Yadis/ParseHTML.php") [line 26]

Need this for parsing HTML (looking for META tags).

[ Top ]

require_once ("Auth/Yadis/XRDS.php") [line 31]

Need this to parse the XRDS document during Yadis discovery.

[ Top ]

require_once ("Auth/Yadis/ParanoidHTTPFetcher.php") [line 21]
[ Top ]


Constants
Auth_Yadis_CONTENT_TYPE  [line 36]

Auth_Yadis_CONTENT_TYPE = 'application/xrds+xml'

XRDS (yadis) content type


[ Top ]

Auth_Yadis_HEADER_NAME  [line 41]

Auth_Yadis_HEADER_NAME = 'X-XRDS-Location'

Yadis header


[ Top ]


Functions
Auth_Yadis_getServiceEndpoints  [line 136]

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

Parameters:
   $input_url: 
   $xrds_parse_func: 
   $discover_func: 
   $fetcher: 


void Auth_Yadis_getServiceEndpoints( $input_url, $xrds_parse_func, [ $discover_func = null], [ $fetcher = null]  )

[ Top ]


Documentation generated on Tue, 20 Dec 2011 16:08:24 +0100 by phpDocumentor 1.4.3