Home | Trees | Index | Help |
|
---|
Package openid :: Package consumer :: Module discover :: Class OpenIDServiceEndpoint |
|
object
--+
|
OpenIDServiceEndpoint
Method Summary | |
---|---|
__init__(self)
| |
__str__(self)
| |
compatibilityMode(self)
| |
Create a new instance of this class from the endpoint object passed in. (Class method) | |
list of OpenIDServiceEndpoint
|
Create endpoints from a DiscoveryResult. (Class method) |
[OpenIDServiceEndpoint] |
Parse the given document as HTML looking for an OpenID <link rel=...> (Class method) |
OpenIDServiceEndpoint |
Construct an OP-Identifier OpenIDServiceEndpoint object for a given OP Endpoint URL (Class method) |
[OpenIDServiceEndpoint] |
Parse the given document as XRDS looking for OpenID services. (Class method) |
Return the display_identifier if set, else return the claimed_id. | |
Return the identifier that should be sent as the openid.identity parameter to the server. | |
isOPIdentifier(self)
| |
Set the state of this object based on the contents of the service element. | |
preferredNamespace(self)
| |
Does this endpoint support this type? | |
usesExtension(self,
extension_uri)
| |
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__
|
Instance Variable Summary | |
---|---|
canonicalID : For XRI, the persistent identifier. | |
identity_url : the verified identifier. |
Class Variable Summary | |
---|---|
list |
openid_type_uris = ['http://specs.openid.net/auth/2.0/se...
|
Instance Method Details |
---|
getDisplayIdentifier(self)Return the display_identifier if set, else return the claimed_id. |
getLocalID(self)Return the identifier that should be sent as the openid.identity parameter to the server. |
parseService(self, yadis_url, uri, type_uris, service_element)Set the state of this object based on the contents of the service element. |
supportsType(self, type_uri)Does this endpoint support this type? I consider/server endpoints to implicitly support
/signon .
|
Class Method Details |
---|
fromBasicServiceEndpoint(cls, endpoint)Create a new instance of this class from the endpoint object passed in.
|
fromDiscoveryResult(cls, discoveryResult)Create endpoints from a DiscoveryResult.
|
fromHTML(cls, uri, html)Parse the given document as HTML looking for an OpenID <link rel=...>
|
fromOPEndpointURL(cls, op_endpoint_url)Construct an OP-Identifier OpenIDServiceEndpoint object for a given OP Endpoint URL
|
fromXRDS(cls, uri, xrds)Parse the given document as XRDS looking for OpenID services.
|
Instance Variable Details |
---|
canonicalIDFor XRI, the persistent identifier. |
identity_urlthe verified identifier. |
Class Variable Details |
---|
openid_type_uris
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Jun 6 15:54:34 2008 | http://epydoc.sf.net |