recaptcha repoze.who plugin implementation
Project description
repoze.who.recaptcha implements server side of the recaptcha API. This IAuthenticator plugin examines environment for recaptcha form values and requests verification.
repoze.who.recaptcha works based on form_handler condition:
if form_handler parameter is not given, always perform authentication.
if form_handler parameter is given, perform authentication only when one of the form_handler values (separated by space) matches the absolute URL where the form is processed.
If the validation succeeds, no action is taken. Otherwise error is passed to environ['repoze.who.error'] and HTTPUnauthorzied(401) is triggered.
Public Mercurial repo is avaliable at bitbucket.org
# sample .ini configuration [plugin:recaptcha] use = repoze.who.plugins.captcha:make_authentication_plugin private_key = si3di5ndlam3x44d #optional form_handler = /process /login /admin [authenticators] plugins = recaptcha
CHANGELOG:
0.1 - 21.09.2008
Inital release
0.2 - 23.09.2008
New: optional form_handler parameter (make validation optional)
New: unittests
Change: ident fixes
Change: use repoze.who.logger
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file repoze.who.plugins.recaptcha-0.2-py2.5.egg
.
File metadata
- Download URL: repoze.who.plugins.recaptcha-0.2-py2.5.egg
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14b18f7302739cacf1e256e7f93d51cbf13e248f3b5ad074f5579a63c0f19437 |
|
MD5 | d5d0b5cdeaa3f63d63b2900ad27367c7 |
|
BLAKE2b-256 | f0f90bceaaae091dcadc5559a5a62cd9b092f8704a84727e243437f6353ef826 |