PHP Class Auth_Yadis_DiscoveryResult

显示文件 Open project: openid/php-openid Class Usage Examples

Public Properties

Property Type Description
$content_type The content-type returned with the response_text
$failed Did the discovery fail miserably?
$normalized_uri The result of following redirects from the request_uri
$request_uri The URI that was passed to the fetcher
$response_text The document returned from the xrds_uri
$xrds
$xrds_uri None if there was no XRDS document found)

Public Methods

Method Description
__construct ( $request_uri )
fail ( )
isFailure ( )
isXRDS ( )
services ( ) : array Returns the list of service objects as described by the XRDS document, if this yadis object represents a successful Yadis discovery.
usedYadisLocation ( )

Method Details

__construct() public method

public __construct ( $request_uri )

fail() public method

public fail ( )

isFailure() public method

public isFailure ( )

isXRDS() public method

public isXRDS ( )

services() public method

Returns the list of service objects as described by the XRDS document, if this yadis object represents a successful Yadis discovery.
public services ( ) : array
return array $services An array of {@link Auth_Yadis_Service} objects

usedYadisLocation() public method

public usedYadisLocation ( )

Property Details

$content_type public_oe property

The content-type returned with the response_text
public $content_type

$failed public_oe property

Did the discovery fail miserably?
public $failed

$normalized_uri public_oe property

The result of following redirects from the request_uri
public $normalized_uri

$request_uri public_oe property

The URI that was passed to the fetcher
public $request_uri

$response_text public_oe property

The document returned from the xrds_uri
public $response_text

$xrds public_oe property

public $xrds

$xrds_uri public_oe property

None if there was no XRDS document found)
public $xrds_uri