Merge branch 'master' of github.com:repoze/repoze.who
| | |
| | | htpasswd = HTPasswdPlugin(io, cleartext_check) |
| | | basicauth = BasicAuthPlugin('repoze.who') |
| | | auth_tkt = AuthTktCookiePlugin('secret', 'auth_tkt') |
| | | redirector = FormPlugin('/login.html') |
| | | redirector = RedirectorPlugin('/login.html') |
| | | redirector.classifications = {IChallenger:['browser'],} # only for browser |
| | | identifiers = [('auth_tkt', auth_tkt), |
| | | ('basicauth', basicauth)] |
| | |
| | | *reason_header* is an optional parameter overriding the default response |
| | | header name (``X-Authorization-Failure-Reason``) which |
| | | the plugin checks to find the application-supplied reason for the challenge. |
| | | *reason_header* cannot be set unless *reason_header* is also set. |
| | | *reason_header* cannot be set unless *reason_param* is also set. |
| | | |
| | | .. module:: repoze.who.plugins.sql |
| | | |