libiqxmlrpc
0.12.4
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Files
Functions
Typedefs
Enumerations
libiqxmlrpc
auth_plugin.h
1
// Libiqxmlrpc - an object-oriented XML-RPC solution.
2
// Copyright (C) 2011 Anton Dedov
3
4
#ifndef _iqxmlrpc_http_auth_plugin_
5
#define _iqxmlrpc_http_auth_plugin_
6
7
#include "
sysinc.h
"
8
9
#include <string>
10
11
namespace
iqxmlrpc {
12
14
class
Auth_Plugin_base
{
15
public
:
16
virtual
~
Auth_Plugin_base
() {}
17
18
bool
authenticate(
19
const
std::string& user,
20
const
std::string& password)
const
;
21
22
bool
authenticate_anonymous()
const
;
23
24
private
:
27
virtual
bool
do_authenticate(
const
std::string&,
const
std::string&)
const
= 0;
28
32
virtual
bool
do_authenticate_anonymous()
const
= 0;
33
};
34
35
}
// namespace iqxmlrpc
36
37
#endif
38
// vim:sw=2:ts=2:et:
Generated on Mon Aug 5 2013 18:53:36 for libiqxmlrpc by
1.8.3.1