Logo Search packages:      
Sourcecode: python-openid version File versions  Download package

def openid::consumer::consumer::Response::getDisplayIdentifier (   self ) [inherited]
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 L{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
L{identity_url} for querying your database or authorization server.

Definition at line 1699 of file consumer.py.

                                  :
        """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 L{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
        L{identity_url} for querying your database or authorization server.
        """
        if self.endpoint is not None:
            return self.endpoint.getDisplayIdentifier()
        return None


Generated by  Doxygen 1.6.0   Back to index