PHP Class Auth_OpenID_ServiceEndpoint

Afficher le fichier Open project: openid/php-openid Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public __construct ( )

compatibilityMode() public méthode

public compatibilityMode ( )

consumerFromXRDS() public méthode

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

copy() public méthode

public copy ( )

fromDiscoveryResult() static public méthode

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

fromHTML() static public méthode

static public fromHTML ( $uri, $html )

fromOPEndpointURL() static public méthode

static public fromOPEndpointURL ( $op_endpoint_url )

fromXRDS() static public méthode

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

getDisplayIdentifier() public méthode

getLocalID() public méthode

public getLocalID ( )

isOPIdentifier() public méthode

public isOPIdentifier ( )

matchTypes() public méthode

* 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 méthode

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

preferredNamespace() public méthode

public preferredNamespace ( )

supportsType() public méthode

public supportsType ( $type_uri )

usesExtension() public méthode

public usesExtension ( $extension_uri )