2captcha-0.1.0.0: Haskell package for easy integration with the 2captcha API.
Safe HaskellNone
LanguageHaskell2010

TwoCaptcha.Internal.Types.ReCaptcha

Synopsis

Documentation

defaultReCAPTCHA :: Captcha Source #

Default parameters for solving a recaptcha. Internal use only.

class Coercible Captcha a => HasReCaptchaLenses a where Source #

Lenses for constructing ReCaptcha options.

Minimal complete definition

Nothing

Methods

enterprise :: Lens' a (Maybe Bool) Source #

Defines if your ReCaptcha is enterprise.

googleKey :: Lens' a (Maybe Text) Source #

If using ReCaptchaV2, this is the value of k or data-sitekey found on the captcha page.

If using ReCaptchaV3, this is the value of sitekey found on the captcha page.

domain :: Lens' a (Maybe Text) Source #

Domain used to load the captcha: google.com or recaptcha.net.

newtype ReCaptchaV2 Source #

Parameters used to solve reCAPTCHA V2.

Constructors

MkReCaptchaV2 Captcha 

Instances

Instances details
Show ReCaptchaV2 Source # 
Instance details

Defined in TwoCaptcha.Internal.Types.ReCaptcha

HasCookies ReCaptchaV2 Source # 
Instance details

Defined in TwoCaptcha.Internal.Types.ReCaptcha

HasUserAgent ReCaptchaV2 Source # 
Instance details

Defined in TwoCaptcha.Internal.Types.ReCaptcha

HasProxy ReCaptchaV2 Source # 
Instance details

Defined in TwoCaptcha.Internal.Types.ReCaptcha

HasPageURL ReCaptchaV2 Source # 
Instance details

Defined in TwoCaptcha.Internal.Types.ReCaptcha

HasCommonCaptchaLenses ReCaptchaV2 Source # 
Instance details

Defined in TwoCaptcha.Internal.Types.ReCaptcha

HasCaptchaLenses ReCaptchaV2 Source # 
Instance details

Defined in TwoCaptcha.Internal.Types.ReCaptcha

HasReCaptchaLenses ReCaptchaV2 Source # 
Instance details

Defined in TwoCaptcha.Internal.Types.ReCaptcha

invisible :: Lens' ReCaptchaV2 (Maybe Bool) Source #

Defines if the reCAPTCHA v2 is invisible.

dataS :: Lens' ReCaptchaV2 (Maybe Text) Source #

Value of the data-s parameter found on the reCAPTCHA page. Currently applicable for google services.

reCAPTCHAV3 :: ReCaptchaV3 Source #

Parameters used to solve reCAPTCHA V3.

Required parameters:

Optional parameters:

minScore :: Lens' ReCaptchaV3 (Maybe Double) Source #

The score needed for resolution. Currently it's almost impossible to get a token with a score higher than 0.3

reCAPTCHATimeout :: TimeoutDuration Source #

Default reCAPTCHA timeout duration (600 seconds).