classafRecaptcha::RecaptchaClient

sys::Obj
  afRecaptcha::RecaptchaClient

@Js

getResponse

Source

Str? getResponse(Str widgetId)

make

Source

new make(Str siteKey, Bool enabled)

render

Source

Str render(Str containerId, [Str:Obj?]? params := null)

theme, type, size, tabindex callback, expired-callback, error-callback not supported

No need to add sitekey Themes: normal = 304px x78px

compact = 164px x 144px

What's returned is NOT the google widget id

See grecaptcha.render parameters for details.

reset

Source

Void reset(Str widgetId)