OpenID - :mod:`velruse.providers.openid` ======================================== The OpenID provider does standard OpenID authentication, using both the `Simple Registration Extension `__ and many of the `Attribute Exchange `__ attributes to acquire as much user information to assist in the authentication process as possible. OpenID Developer Links: * `OpenID Authentication 2.0 `__ * `Attribute Exchange 1.0 `__ Settings -------- ``realm`` Domain for your website, e.g. ``http://yourdomain.com/`` ``store`` An instance of an OpenID store. The default (`None`) is to run in `stateless mode `__. It is recommended to use a conforming OpenID store if possible as stateless mode can be more chatty. .. note:: The OpenID store is a different store to the Velruse store. Please see the :mod:`python-openid` documentation for details. POST Parameters --------------- The OpenID provider accepts `openid_identifier` which should designate the OpenID identifer being claimed to authenticate. Complete Example: .. code-block:: html
Pyramid API ----------- .. automodule:: velruse.providers.openid .. autoclass:: OpenIDAuthenticationComplete :show-inheritance: .. autofunction:: includeme .. autofunction:: add_openid_login .. .. automodule:: velruse.providers.oid_extensions .. autoclass:: UIRequest :members: .. autoclass:: OAuthRequest :members: .. autoclass:: AttribAccess .. autofunction:: extract_openid_data .. autofunction:: setup_openid .. autofunction:: includeme .. autoclass:: OpenIDAuthenticationComplete .. autoclass:: OpenIDConsumer :members: __init__, _lookup_identifier, _update_authrequest, _get_access_token, login, _update_profile_data, process