Panda3D

- Main Page
- Packages
- Classes

- Packages
- Package Functions

Classes | Functions | Variables

# Package http.recaptcha

## 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"

## Function Documentation

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

## Variable Documentation

string API_SERVER = "http://api.recaptcha.net"

string API_SSL_SERVER = "https://api-secure.recaptcha.net"

string VERIFY_SERVER = "api-verify.recaptcha.net"

All Classes Namespaces Functions Variables Enumerations Enumerator Properties