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
Metadata
Release files for repoze.who.plugins.recaptcha 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| repoze.who.plugins.recaptcha-0.2-py2.5.egg | Legacy Egg format | - | - | Details |
Release files / repoze.who.plugins.recaptcha-0.2-py2.5.egg
| Download URL | repoze.who.plugins.recaptcha-0.2-py2.5.egg |
|---|---|
| Size | 9.1 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
14b18f7302739cacf1e256e7f93d51cbf13e248f3b5ad074f5579a63c0f19437
|
|
BLAKE2b-256 checksum How to use checksums |
f0f90bceaaae091dcadc5559a5a62cd9b092f8704a84727e243437f6353ef826
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |