Skip to main content

Client Class

Client is the class that offers functions for validating Friendly Captcha responses generated by the Friendly Captcha widget.

Methods​

verifyCaptchaResponse(response, opts)​

Signature​

global static VerifyResult verifyCaptchaResponse(String response, Options opts)

Parameters​

NameTypeDescription
responseString
optsOptions

Return Type​

VerifyResult


verifyCaptchaResponse(response)​

Reads configuration options from the 'Settings' record of the Config__mdt .

Signature​

global static VerifyResult verifyCaptchaResponse(String response)

Parameters​

NameTypeDescription
responseString

Return Type​

VerifyResult