# GraffitiRecaptcha
Class Inherits GraffitiWebUIControl
## About
Add recaptcha support to your web applications to fight off those bot armies!
## Compatibility
### Framework API Version
| 1.0 | 2.0 |
| :---: | :---: |
| True | True |
### Web
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
## Enumerations
| Name | Value | Description |
| --- | :---: | --- |
| Sizes | Normal <br> Compact | |
| Themes | Auto <br> Light <br> Dark | |
## Event Definitions
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Closed | (None) | (None) | |
| Error | timestamp as DateTime <br> hostname as String <br> errorCodes() as String | (None) | Raised when an error is encountered either client- or server-side. |
| Expired | (None) | (None) | User interaction and verification timed out. Typically a call to Reset is expected. |
| Open | (None) | (None) | |
| Shown | (None) | (None) | |
| Verified | timestamp as DateTime <br> hostname as String | (None) | Raised when the user has been successfully verified as human. |
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Reset | (None) | (None) | Resets the reCaptcha instance to its default state. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| SecretKey | String | Nil | Secret key generated in your Google admin console. |
| SimulateOnLocal | Boolean | Nil | When True, the reCaptcha instance will not be displayed and the Verified event will be raised. |
| SiteKey | String | Nil | Site key generated in your Google admin console. |
| Size | Sizes | Nil | Supported display dimensions. |
| Theme | Themes | Nil | Supported color schemes. Auto uses the scheme of the user's machine at instantiation. |