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

Class OpenIDServiceEndpoint

source code

object --+
         |
        OpenIDServiceEndpoint

Object representing an OpenID service endpoint.

Instance Methods [hide private]
  __init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  usesExtension(self, extension_uri)
  parseService(self, yadis_url, uri, type_uris, service_element)
Set the state of this object based on the contents of the service element.
  getServerID(self)
Return the identifier that should be sent as the openid.identity_url parameter to the server.

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__


Class Methods [hide private]
  fromBasicServiceEndpoint(cls, endpoint)
Create a new instance of this class from the endpoint object passed in.
  fromHTML(cls, uri, html)
Parse the given document as HTML looking for an OpenID <link rel=...>

Class Variables [hide private]
  openid_type_uris = ['http://openid.net/signon/1.2', 'http://openid.net/...

Instance Variables [hide private]
  canonicalID
For XRI, the persistent identifier.
  identity_url
the verified identifier.

Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

usesExtension(self, extension_uri)

source code 

parseService(self, yadis_url, uri, type_uris, service_element)

source code 

Set the state of this object based on the contents of the service element.

getServerID(self)

source code 

Return the identifier that should be sent as the openid.identity_url parameter to the server.

fromBasicServiceEndpoint(cls, endpoint)
Class Method

source code 

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)
Class Method

source code 

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

Class Variable Details [hide private]

openid_type_uris

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

Instance Variable Details [hide private]

canonicalID


For XRI, the persistent identifier.

identity_url


the verified identifier.