Package openid :: Package consumer :: Module discover :: Class OpenIDServiceEndpoint
[frames | no frames]

Type OpenIDServiceEndpoint

object --+
         |
        OpenIDServiceEndpoint


Object representing an OpenID service endpoint.
Method Summary
  __init__(self)
  fromBasicServiceEndpoint(cls, endpoint)
Create a new instance of this class from the endpoint object passed in. (Class method)
  fromHTML(cls, uri, html)
Parse the given document as HTML looking for an OpenID <link rel=...> (Class method)
  getServerID(self)
Return the identifier that should be sent as the openid.identity_url 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.
  usesExtension(self, extension_uri)
Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Instance Variable Summary
  canonicalID: For XRI, the persistent identifier.
  identity_url: the verified identifier.

Class Variable Summary
list openid_type_uris = ['http://openid.net/signon/1.2', 'htt...

Instance Method Details

getServerID(self)

Return the identifier that should be sent as the openid.identity_url 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.

Class Method Details

fromBasicServiceEndpoint(cls, endpoint)

Create a new instance of this class from the endpoint object passed in.
Returns:
None or OpenIDServiceEndpoint for this endpoint object

fromHTML(cls, uri, html)

Parse the given document as HTML looking for an OpenID <link rel=...>

Instance Variable Details

canonicalID

For XRI, the persistent identifier.

identity_url

the verified identifier.

Class Variable Details

openid_type_uris

Type:
list
Value:
['http://openid.net/signon/1.2',
 'http://openid.net/signon/1.1',
 'http://openid.net/signon/1.0']                                       

Generated by Epydoc 2.1 on Fri Dec 14 11:14:09 2007 http://epydoc.sf.net