PHP Class Auth_OpenID_ServiceEndpoint

Mostrar archivo Open project: openid/php-openid Class Usage Examples

Public Methods

Method Description
__construct ( )
compatibilityMode ( )
consumerFromXRDS ( $uri, $xrds_text ) * Parse the given document as XRDS looking for OpenID consumer services.
copy ( )
fromDiscoveryResult ( $discoveryResult ) * Create endpoints from a DiscoveryResult.
fromHTML ( $uri, $html )
fromOPEndpointURL ( $op_endpoint_url )
fromXRDS ( $uri, $xrds_text ) * Parse the given document as XRDS looking for OpenID services.
getDisplayIdentifier ( )
getLocalID ( )
isOPIdentifier ( )
matchTypes ( $type_uris ) * Query this endpoint to see if it has any of the given type URIs. This is useful for implementing other endpoint classes that e.g. need to check for the presence of multiple versions of a single protocol.
parseService ( $yadis_url, $uri, $type_uris, $service_element )
preferredNamespace ( )
supportsType ( $type_uri )
usesExtension ( $extension_uri )

Method Details

__construct() public method

public __construct ( )

compatibilityMode() public method

public compatibilityMode ( )

consumerFromXRDS() public method

* Parse the given document as XRDS looking for OpenID consumer services.
public consumerFromXRDS ( $uri, $xrds_text )

copy() public method

public copy ( )

fromDiscoveryResult() static public method

* Create endpoints from a DiscoveryResult.
static public fromDiscoveryResult ( $discoveryResult )

fromHTML() static public method

static public fromHTML ( $uri, $html )

fromOPEndpointURL() static public method

static public fromOPEndpointURL ( $op_endpoint_url )

fromXRDS() static public method

* Parse the given document as XRDS looking for OpenID services.
static public fromXRDS ( $uri, $xrds_text )

getDisplayIdentifier() public method

getLocalID() public method

public getLocalID ( )

isOPIdentifier() public method

public isOPIdentifier ( )

matchTypes() public method

* Query this endpoint to see if it has any of the given type URIs. This is useful for implementing other endpoint classes that e.g. need to check for the presence of multiple versions of a single protocol.
public matchTypes ( $type_uris )
$type_uris The URIs that you wish to check

parseService() public method

public parseService ( $yadis_url, $uri, $type_uris, $service_element )

preferredNamespace() public method

public preferredNamespace ( )

supportsType() public method

public supportsType ( $type_uri )

usesExtension() public method

public usesExtension ( $extension_uri )