libUTL++
ReCaptcha.h
1
#pragma once
2
4
5
UTL_NS_BEGIN;
6
8
16
18
class
ReCaptcha
:
public
utl::Object
19
{
20
UTL_CLASS_DECL
(
ReCaptcha
,
utl::Object
);
21
UTL_CLASS_DEFID
;
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;
UTL_CLASS_DEFID
#define UTL_CLASS_DEFID
Default init() and deInit() (which are merely place-holders).
Definition:
macros.h:532
UTL_CLASS_DECL
#define UTL_CLASS_DECL(DC, BC)
Declaration of standard UTL++ functionality for a non-template class.
Definition:
macros.h:688
utl::String
Character string.
Definition:
String.h:31
utl::ReCaptcha
ReCaptcha response verifier.
Definition:
ReCaptcha.h:18
utl::Object
Root of UTL++ class hierarchy.
Definition:
Object.h:52
ucm
ReCaptcha.h
Generated on Tue Feb 7 2017 20:11:33 for libUTL++ by
1.8.13