|
Panda3D
|
Classes | |
| class | RecaptchaResponse |
Functions | |
| def | displayhtml |
| def | submit |
Variables | |
| string | API_SERVER = "http://api.recaptcha.net" |
| string | API_SSL_SERVER = "https://api-secure.recaptcha.net" |
| string | VERIFY_SERVER = "api-verify.recaptcha.net" |
| def http.recaptcha.displayhtml | ( | public_key, | |
use_ssl = False, |
|||
error = None |
|||
| ) |
Gets the HTML to display for reCAPTCHA public_key -- The public api key use_ssl -- Should the request be sent over ssl? error -- An error message to display (from RecaptchaResponse.error_code)
| def http.recaptcha.submit | ( | recaptcha_challenge_field, | |
| recaptcha_response_field, | |||
| private_key, | |||
| remoteip | |||
| ) |
Submits a reCAPTCHA request for verification. Returns RecaptchaResponse for the request recaptcha_challenge_field -- The value of recaptcha_challenge_field from the form recaptcha_response_field -- The value of recaptcha_response_field from the form private_key -- your reCAPTCHA private key remoteip -- the user's ip address
| string API_SERVER = "http://api.recaptcha.net" |
| string API_SSL_SERVER = "https://api-secure.recaptcha.net" |
| string VERIFY_SERVER = "api-verify.recaptcha.net" |
1.7.3