Developer docs / Bundled addons
hCaptcha hCaptcha captcha.
Field Value Addon id captcha-hcaptchaKind captchaProvides hcaptchaEngine wasmABI 0.2.0Version 0.1.0 Author MythicalSystems Source extensions/addons/captcha-hcaptchaPermissions (shown at install) network.outbound
# Capabilities
Capability Value httpapi.hcaptcha.com, hcaptcha.com, $setting:verify_urlsecretsnone
# Events and hooks
What Value Listens to (events) none Hooks none Emits none Mixins none Scheduled jobs none
# Settings and secrets
Setting Type Required site_keytextno secret_keysecretno min_scorenumberno verify_urltextno
Secrets (stored encrypted, never returned by the API): none.
Outbound HTTP allowed to: api.hcaptcha.com, hcaptcha.com, $setting:verify_url. $server is the hostname of the server configured for the product, $setting:<key> the host of that setting.
# addon.json
extensions/addons/captcha-hcaptcha/addon.json JSON Wrap Copy
{
" abi" : " 0.2.0" ,
" author" : " MythicalSystems" ,
" capabilities" : {
" http" : [
" api.hcaptcha.com" ,
" hcaptcha.com" ,
" $setting:verify_url"
] ,
" secrets" : [ ]
} ,
" description" : " addons.desc.captcha.hcaptcha" ,
" engine" : " wasm" ,
" id" : " captcha-hcaptcha" ,
" kind" : " captcha" ,
" name" : " hCaptcha" ,
" permissions" : [
" network.outbound"
] ,
" provides" : " hcaptcha" ,
" settings" : [
{
" default" : " " ,
" key" : " site_key" ,
" kind" : " text" ,
" label" : " addons.captcha.setting.site_key" ,
" required" : false
} ,
{
" default" : " " ,
" key" : " secret_key" ,
" kind" : " secret" ,
" label" : " addons.captcha.setting.secret_key" ,
" required" : false
} ,
{
" default" : 0. 5 ,
" key" : " min_score" ,
" kind" : " number" ,
" label" : " addons.captcha.setting.min_score" ,
" required" : false
} ,
{
" default" : " " ,
" key" : " verify_url" ,
" kind" : " text" ,
" label" : " addons.captcha.setting.verify_url" ,
" required" : false
}
] ,
" version" : " 0.1.0" ,
" wasm" : " addon.wasm"
}