summaryrefslogtreecommitdiffabout
path: root/include/opkele/xconsumer.h
Unidiff
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 */