Class OpenID_Discover_HTML

Description

Implements interfaces:

Implements HTML discovery

Located in /OpenID/Discover/HTML.php (line 37)

OpenID_Discover
   |
   --OpenID_Discover_HTML
Variable Summary
string $identifier
HTTP_Request2 $request
HTTP_Request2_Response $response
Method Summary
Variables
string $identifier = null (line 46)

The normalized identifier

  • access: protected

Redefinition of:
OpenID_Discover::$identifier
The normalized version of the user supplied identifier
HTTP_Request2 $request = null (line 53)

Local storage of the HTTP_Request2 object

  • access: protected
HTTP_Request2_Response $response = null (line 60)

Local storage of the HTTP_Request2_Response object

  • access: protected

Inherited Variables

Inherited from OpenID_Discover

OpenID_Discover::$discoveryOrder
OpenID_Discover::$requestOptions
OpenID_Discover::$services
OpenID_Discover::$supportedTypes
Methods
Constructor __construct (line 69)

Constructor. Sets the

  • access: public
void __construct (mixed $identifier)
  • mixed $identifier: The user supplied identifier

Redefinition of:
OpenID_Discover::__construct()
Constructor. Enables libxml internal errors, normalized the identifier.

Implementation of:
OpenID_Discover_Interface::__construct()
Constructor. Sets the user supplied identifier.
buildServiceEndpoint (line 131)

Builds the service endpoint

  • access: protected
OpenID_ServiceEndpoints buildServiceEndpoint ( $results)
  • array $results: Array of items discovered via HTML
discover (line 80)

Performs HTML discovery.

  • throws: OpenID_Discover_Exception on error
  • access: public

Redefinition of:
OpenID_Discover::discover()
Performs discovery

Implementation of:
OpenID_Discover_Interface::discover()
Performs discovery on the user supplied identifier
getExpiresHeader (line 117)

Gets the Expires header from the response object

  • access: protected
string getExpiresHeader ()
getHTTPRequest2 (line 189)

Instantiates HTTP_Request2. Abstracted for testing.

  • access: protected
void getHTTPRequest2 ()
sendRequest (line 170)

Sends the request via HTTP_Request2

  • return: The HTTP response body
  • access: protected
string sendRequest ()

Inherited Methods

Inherited From OpenID_Discover

OpenID_Discover::__construct()
OpenID_Discover::discover()
OpenID_Discover::extensionSupported()
OpenID_Discover::getDiscover()
OpenID_Discover::setRequestOptions()
OpenID_Discover::__get()
Class Constants

Documentation generated on Tue, 15 Dec 2009 19:00:54 -0800 by phpDocumentor 1.4.3