libUTL++
ReCaptcha.h
1 #pragma once
2 
4 
5 UTL_NS_BEGIN;
6 
8 
16 
18 class ReCaptcha : public utl::Object
19 {
22 
23 public:
33  static bool checkAnswer(const String& secret,
34  const String& response,
35  const String* clientIP = nullptr,
36  const String* serverIP = nullptr);
37 };
38 
40 
41 UTL_NS_END;
#define UTL_CLASS_DEFID
Default init() and deInit() (which are merely place-holders).
Definition: macros.h:532
#define UTL_CLASS_DECL(DC, BC)
Declaration of standard UTL++ functionality for a non-template class.
Definition: macros.h:688
Character string.
Definition: String.h:31
ReCaptcha response verifier.
Definition: ReCaptcha.h:18
Root of UTL++ class hierarchy.
Definition: Object.h:52