Package openid :: Package consumer :: Module consumer :: Class Response
[hide private]
[frames] | no frames]

Class Response

source code

object --+
         |
        Response

Instance Methods [hide private]
 
setEndpoint(self, endpoint) source code
 
getDisplayIdentifier(self)
Return the display identifier for this response.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  status = None
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

getDisplayIdentifier(self)

source code 

Return the display identifier for this response.

The display identifier is related to the Claimed Identifier, but the two are not always identical. The display identifier is something the user should recognize as what they entered, whereas the response's claimed identifier (in the identity_url attribute) may have extra information for better persistence.

URLs will be stripped of their fragments for display. XRIs will display the human-readable identifier (i-name) instead of the persistent identifier (i-number).

Use the display identifier in your user interface. Use identity_url for querying your database or authorization server.