AuthKit

 

open_id

Highly flexible OpenID based authentication middleware

Note

If you want to test this module feel free to setup an account at passurl.com. The site is in alpha and any accounts will be deleted before launch but it might help with testing.

Full documentation on the use of this OpenID module is in the AuthKit manual.

Warning

Any data returned from an OpenID identity provider is stored in the cookie user data. This is not encryted when sent to the browser (unless you are using a secure connection). Whilst this is unlikely to be a major problem in your application it is something to be aware of.

This middleware actually sets two cookies, one for AuthKit and one for a session store to store the ID which OpenID information is keyed against.


Functions

f load_openid_config(app, auth_conf, app_conf=None, global_conf=None, prefix='authkit.openid') ...

f make_passurl_handler(app, auth_conf, app_conf=None, global_conf=None, prefix='authkit.openid') ...

f make_store(store, config) ...

f passurl_urltouser(environ, url) ...

f render(template, **p) ...

f template() ...

Classes

C AuthOpenIDHandler(...) ...

The template should be setup from authkit.open_id.template.file or authkit.open_id.template.obj before we get here!

This class contains 4 members.

C OpenIDAuthHandler(...) ...

This middleware is triggered when the authenticate middleware catches a 401 response. The form is submitted to the verify URL which the other middleware handles

This class contains 2 members.

C OpenIDUserSetter(...) ...

This class contains 2 members.

C PassURLSignIn(...) ...

This middleware is triggered when the authenticate middleware catches a 401 response. The form is submitted to the verify URL which the other middleware handles

This class contains 2 members.

See the source for more information.