AuthKit

 

form

Form and cookie based authentication middleware

As with all the other AuthKit middleware, this middleware is described in detail in the AuthKit manual and should be used via the authkit.authenticate.middleware function.

The option form.status can be set to "200 OK" if the Pylons error document middleware is intercepting the 401 response and just showing the standard 401 error document. This will not happen in recent versions of Pylons (0.9.6) because this middleware sets the environ['pylons.error_call'] key so that the error documents middleware doesn't intercept the response.


Attributes

a log

<logging.Logger instance at 0xb72ef0cc>

Functions

f load_form_config(app, auth_conf, app_conf=None, global_conf=None, prefix='authkit.method.form') ...

f make_form_handler(app, auth_conf, app_conf=None, global_conf=None, prefix='authkit.method.form') ...

f template() ...

Classes

C Form(...) ...

This class contains 3 members.

C FormAuthHandler(...) ...

This class contains 3 members.

See the source for more information.