Safe Haskell | None |
---|---|
Language | Haskell2010 |
- class YesodAuth site => YesodReCaptcha site where
- reCaptcha :: YesodReCaptcha site => AForm (HandlerT site IO) ()
- mReCaptcha :: YesodReCaptcha site => MForm (HandlerT site IO) (FormResult (), [FieldView site])
Documentation
class YesodAuth site => YesodReCaptcha site where Source #
default key is testing. you should impl reCaptchaSiteKey and reCaptchaSecretKey
reCaptchaSiteKey :: HandlerT site IO Text Source #
reCaptchaSecretKey :: HandlerT site IO Text Source #
reCaptchaLanguage :: HandlerT site IO (Maybe Text) Source #
with specific language from https://developers.google.com/recaptcha/docs/language
reCaptchaLanguage = pure (Just "ru")
mReCaptcha :: YesodReCaptcha site => MForm (HandlerT site IO) (FormResult (), [FieldView site]) Source #
for Monadic style form