Copyright | (c) 2022 Edward Yang |
---|---|
License | MIT |
Safe Haskell | None |
Language | Haskell2010 |
This module exports functions that follow the pvp versioning policies.
Synopsis
- data ProxyAuth = ProxyAuth {}
- data ProxyProtocol
- data Proxy = Proxy {}
- class HasUsername s a | s -> a where
- class HasPassword s a | s -> a where
- data ImageCaptcha
- class HasProtocol s a | s -> a where
- class HasPort s a | s -> a where
- class HasAuth s a | s -> a where
- class HasAddress s a | s -> a where
- data TextCaptcha
- class HasTimeoutDuration s a | s -> a where
- timeoutDuration :: Lens' s a
- class HasPollingInterval s a | s -> a where
- pollingInterval :: Lens' s a
- class HasBody s a | s -> a where
- class HasApiKey s a | s -> a where
- data FunCaptcha
- data ReCaptchaV2
- class HasUserAgent s a | s -> a where
- class HasServiceUrl s a | s -> a where
- serviceUrl :: Lens' s a
- class HasProxy s a | s -> a where
- class HasCookies s a | s -> a where
- class HasCaptchaUrl s a | s -> a where
- captchaUrl :: Lens' s a
- class HasCaptchaKey s a | s -> a where
- captchaKey :: Lens' s a
- data ReCaptchaV3
- class HasInvisible s a | s -> a where
- class HasDataS s a | s -> a where
- data HCaptcha
- class HasMinScore s a | s -> a where
- class HasAction s a | s -> a where
- class HasRqData s a | s -> a where
- module Captcha.Internal.Monad
- module Captcha.Internal.Monad.Class
Documentation
Proxy authentication.
Instances
Show ProxyAuth Source # | |
Generic ProxyAuth Source # | |
Default ProxyAuth Source # | |
Defined in Captcha.Internal.Types | |
HasUsername ProxyAuth Text Source # | |
HasPassword ProxyAuth Text Source # | |
HasAuth Proxy (Maybe ProxyAuth) Source # | |
type Rep ProxyAuth Source # | |
Defined in Captcha.Internal.Types type Rep ProxyAuth = D1 ('MetaData "ProxyAuth" "Captcha.Internal.Types" "captcha-core-0.1.0.0-Lx73EotXJLy9sAM8eXYgwm" 'False) (C1 ('MetaCons "ProxyAuth" 'PrefixI 'True) (S1 ('MetaSel ('Just "_username") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_password") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
data ProxyProtocol Source #
Proxy protocol.
Instances
Show ProxyProtocol Source # | |
Defined in Captcha.Internal.Types showsPrec :: Int -> ProxyProtocol -> ShowS # show :: ProxyProtocol -> String # showList :: [ProxyProtocol] -> ShowS # | |
Default ProxyProtocol Source # | |
Defined in Captcha.Internal.Types def :: ProxyProtocol # | |
HasProtocol Proxy ProxyProtocol Source # | |
Defined in Captcha.Internal.Types |
Proxy to be used when solving a captcha.
Instances
class HasUsername s a | s -> a where Source #
class HasPassword s a | s -> a where Source #
data ImageCaptcha Source #
Parameters for solving a captcha with text within an image.
Instances
class HasProtocol s a | s -> a where Source #
Instances
HasProtocol Proxy ProxyProtocol Source # | |
Defined in Captcha.Internal.Types |
class HasAddress s a | s -> a where Source #
data TextCaptcha Source #
Parameters for solving a text captcha.
Instances
class HasTimeoutDuration s a | s -> a where Source #
timeoutDuration :: Lens' s a Source #
Instances
a ~ Maybe (Time Millisecond) => HasTimeoutDuration ImageCaptcha a Source # | |
Defined in Captcha.Internal.Types | |
a ~ Maybe (Time Millisecond) => HasTimeoutDuration TextCaptcha a Source # | |
Defined in Captcha.Internal.Types | |
a ~ Maybe (Time Millisecond) => HasTimeoutDuration FunCaptcha a Source # | |
Defined in Captcha.Internal.Types | |
a ~ Maybe (Time Millisecond) => HasTimeoutDuration ReCaptchaV2 a Source # | |
Defined in Captcha.Internal.Types | |
a ~ Maybe (Time Millisecond) => HasTimeoutDuration ReCaptchaV3 a Source # | |
Defined in Captcha.Internal.Types | |
a ~ Maybe (Time Millisecond) => HasTimeoutDuration HCaptcha a Source # | |
Defined in Captcha.Internal.Types timeoutDuration :: Lens' HCaptcha a Source # |
class HasPollingInterval s a | s -> a where Source #
pollingInterval :: Lens' s a Source #
Instances
a ~ Maybe (Time Millisecond) => HasPollingInterval ImageCaptcha a Source # | |
Defined in Captcha.Internal.Types | |
a ~ Maybe (Time Millisecond) => HasPollingInterval TextCaptcha a Source # | |
Defined in Captcha.Internal.Types | |
a ~ Maybe (Time Millisecond) => HasPollingInterval FunCaptcha a Source # | |
Defined in Captcha.Internal.Types | |
a ~ Maybe (Time Millisecond) => HasPollingInterval ReCaptchaV2 a Source # | |
Defined in Captcha.Internal.Types | |
a ~ Maybe (Time Millisecond) => HasPollingInterval ReCaptchaV3 a Source # | |
Defined in Captcha.Internal.Types | |
a ~ Maybe (Time Millisecond) => HasPollingInterval HCaptcha a Source # | |
Defined in Captcha.Internal.Types pollingInterval :: Lens' HCaptcha a Source # |
class HasBody s a | s -> a where Source #
Instances
HasBody ImageCaptcha Text Source # | |
Defined in Captcha.Internal.Types | |
HasBody TextCaptcha Text Source # | |
Defined in Captcha.Internal.Types |
class HasApiKey s a | s -> a where Source #
Instances
HasApiKey ImageCaptcha Text Source # | |
Defined in Captcha.Internal.Types | |
HasApiKey TextCaptcha Text Source # | |
Defined in Captcha.Internal.Types | |
HasApiKey FunCaptcha Text Source # | |
Defined in Captcha.Internal.Types | |
HasApiKey ReCaptchaV2 Text Source # | |
Defined in Captcha.Internal.Types | |
HasApiKey ReCaptchaV3 Text Source # | |
Defined in Captcha.Internal.Types | |
HasApiKey HCaptcha Text Source # | |
data FunCaptcha Source #
Parameters for solving Arkose Lab's FunCaptcha.
Instances
data ReCaptchaV2 Source #
Parameters for solving Google's reCAPTCHA v2.
Instances
class HasUserAgent s a | s -> a where Source #
Instances
HasUserAgent FunCaptcha (Maybe Text) Source # | |
Defined in Captcha.Internal.Types | |
HasUserAgent ReCaptchaV2 (Maybe Text) Source # | |
Defined in Captcha.Internal.Types | |
HasUserAgent ReCaptchaV3 (Maybe Text) Source # | |
Defined in Captcha.Internal.Types | |
HasUserAgent HCaptcha (Maybe Text) Source # | |
class HasServiceUrl s a | s -> a where Source #
serviceUrl :: Lens' s a Source #
Instances
HasServiceUrl FunCaptcha (Maybe Text) Source # | |
Defined in Captcha.Internal.Types serviceUrl :: Lens' FunCaptcha (Maybe Text) Source # |
class HasProxy s a | s -> a where Source #
Instances
HasProxy FunCaptcha (Maybe Proxy) Source # | |
Defined in Captcha.Internal.Types | |
HasProxy ReCaptchaV2 (Maybe Proxy) Source # | |
Defined in Captcha.Internal.Types | |
HasProxy ReCaptchaV3 (Maybe Proxy) Source # | |
Defined in Captcha.Internal.Types | |
HasProxy HCaptcha (Maybe Proxy) Source # | |
class HasCookies s a | s -> a where Source #
Instances
HasCookies FunCaptcha Cookies Source # | |
Defined in Captcha.Internal.Types | |
HasCookies ReCaptchaV2 Cookies Source # | |
Defined in Captcha.Internal.Types | |
HasCookies ReCaptchaV3 Cookies Source # | |
Defined in Captcha.Internal.Types | |
HasCookies HCaptcha Cookies Source # | |
class HasCaptchaUrl s a | s -> a where Source #
captchaUrl :: Lens' s a Source #
Instances
HasCaptchaUrl FunCaptcha Text Source # | |
Defined in Captcha.Internal.Types | |
HasCaptchaUrl ReCaptchaV2 Text Source # | |
Defined in Captcha.Internal.Types | |
HasCaptchaUrl ReCaptchaV3 Text Source # | |
Defined in Captcha.Internal.Types | |
HasCaptchaUrl HCaptcha Text Source # | |
Defined in Captcha.Internal.Types |
class HasCaptchaKey s a | s -> a where Source #
captchaKey :: Lens' s a Source #
Instances
HasCaptchaKey FunCaptcha Text Source # | |
Defined in Captcha.Internal.Types | |
HasCaptchaKey ReCaptchaV2 Text Source # | |
Defined in Captcha.Internal.Types | |
HasCaptchaKey ReCaptchaV3 Text Source # | |
Defined in Captcha.Internal.Types | |
HasCaptchaKey HCaptcha Text Source # | |
Defined in Captcha.Internal.Types |
data ReCaptchaV3 Source #
Parameters for solving Google's reCAPTCHA v3.
Instances
class HasInvisible s a | s -> a where Source #
Instances
class HasDataS s a | s -> a where Source #
Instances
HasDataS ReCaptchaV2 (Maybe Text) Source # | |
Defined in Captcha.Internal.Types |
Parameters for solving hCaptcha.
Instances
class HasMinScore s a | s -> a where Source #
Instances
HasMinScore ReCaptchaV3 Double Source # | |
Defined in Captcha.Internal.Types |
class HasAction s a | s -> a where Source #
Instances
HasAction ReCaptchaV3 (Maybe Text) Source # | |
Defined in Captcha.Internal.Types |
module Captcha.Internal.Monad
module Captcha.Internal.Monad.Class