GraffitiSuite Docs
Docs
Graffitirecaptcha
Loading document parsing libraries...
# 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 | (None) | | Themes | Auto <br > Light <br > Dark | (None) | ## Event Definitions | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | Closed | (None) | (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) | (None) | | Shown | (None) | (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 | (None) | Secret key generated in your Google admin console. | | SimulateOnLocal | Boolean | (None) | When True, the reCaptcha instance will not be displayed and the Verified event will be raised. | | SiteKey | String | (None) | Site key generated in your Google admin console. | | Size | Sizes | (None) | Supported display dimensions. | | Theme | Themes | (None) | Supported color schemes. Auto uses the scheme of the user's machine at instantiation. |