summaryrefslogtreecommitdiffabout
path: root/include/opkele/xconsumer.h
authorMichael Krelin <hacker@klever.net>2009-09-10 06:00:38 (UTC)
committer Michael Krelin <hacker@klever.net>2009-09-13 11:43:55 (UTC)
commit570ab021e0dcf507ecd6b7118151fb90feeab779 (patch) (unidiff)
treece2f904618849e5aba61a79999768442a754e953 /include/opkele/xconsumer.h
parent5e8d46cb591582918f4d3d4bbdbd29fee207498a (diff)
downloadlibopkele-570ab021e0dcf507ecd6b7118151fb90feeab779.zip
libopkele-570ab021e0dcf507ecd6b7118151fb90feeab779.tar.gz
libopkele-570ab021e0dcf507ecd6b7118151fb90feeab779.tar.bz2
removed legacy compatibility code and pcre dependency
Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (limited to 'include/opkele/xconsumer.h') (more/less context) (ignore whitespace changes)
-rw-r--r--include/opkele/xconsumer.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/include/opkele/xconsumer.h b/include/opkele/xconsumer.h
deleted file mode 100644
index 42796c0..0000000
--- a/include/opkele/xconsumer.h
+++ b/dev/null
@@ -1,38 +0,0 @@
1#ifndef __OPKELE_XCONSUMER_H
2#define __OPKELE_XCONSUMER_H
3
4/**
5 * @file
6 * @brief OpenID consumer with built-in extension chain
7 */
8
9#include <opkele/extension_chain.h>
10#include <opkele/consumer.h>
11
12namespace opkele {
13
14 /**
15 * Extended OpenID consumer implementation with built in
16 * extensions chain.
17 */
18 class xconsumer_t : public consumer_t, public extension_chain_t {
19 public:
20
21 string checkid_immediate(const string& identity,const string& return_to,const string& trust_root="",extension_t *ext=0) {
22 return consumer_t::checkid_immediate(identity,return_to,trust_root,this);
23 }
24 string chekid_setup(const string& identity,const string& return_to,const string& trust_root="",extension_t *ext=0) {
25 return consumer_t::checkid_setup(identity,return_to,trust_root,this);
26 }
27 string checkid_(mode_t mode,const string& identity,const string& return_to,const string& trust_root="",extension_t *ext=0) {
28 return consumer_t::checkid_(mode,identity,return_to,trust_root,this);
29 }
30 void id_res(const params_t& pin,const string& identity="",extension_t *ext=0) {
31 consumer_t::id_res(pin,identity,this);
32 }
33
34 };
35
36}
37
38#endif /* __OPKELE_XCONSUMER_H */