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.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/opkele/xconsumer.h b/include/opkele/xconsumer.h
index 14a8aaa..42796c0 100644
--- a/include/opkele/xconsumer.h
+++ b/include/opkele/xconsumer.h
@@ -1,41 +1,38 @@
1#ifndef __OPKELE_XCONSUMER_H 1#ifndef __OPKELE_XCONSUMER_H
2#define __OPKELE_XCONSUMER_H 2#define __OPKELE_XCONSUMER_H
3 3
4/** 4/**
5 * @file 5 * @file
6 * @brief OpenID consumer with built-in extension chain 6 * @brief OpenID consumer with built-in extension chain
7 */ 7 */
8 8
9#include <opkele/extension_chain.h> 9#include <opkele/extension_chain.h>
10#include <opkele/consumer.h> 10#include <opkele/consumer.h>
11 11
12/**
13 * @brief the main opkele namespace
14 */
15namespace opkele { 12namespace opkele {
16 13
17 /** 14 /**
18 * Extended OpenID consumer implementation with built in 15 * Extended OpenID consumer implementation with built in
19 * extensions chain. 16 * extensions chain.
20 */ 17 */
21 class xconsumer_t : public consumer_t, public extension_chain_t { 18 class xconsumer_t : public consumer_t, public extension_chain_t {
22 public: 19 public:
23 20
24 string checkid_immediate(const string& identity,const string& return_to,const string& trust_root="",extension_t *ext=0) { 21 string checkid_immediate(const string& identity,const string& return_to,const string& trust_root="",extension_t *ext=0) {
25 return consumer_t::checkid_immediate(identity,return_to,trust_root,this); 22 return consumer_t::checkid_immediate(identity,return_to,trust_root,this);
26 } 23 }
27 string chekid_setup(const string& identity,const string& return_to,const string& trust_root="",extension_t *ext=0) { 24 string chekid_setup(const string& identity,const string& return_to,const string& trust_root="",extension_t *ext=0) {
28 return consumer_t::checkid_setup(identity,return_to,trust_root,this); 25 return consumer_t::checkid_setup(identity,return_to,trust_root,this);
29 } 26 }
30 string checkid_(mode_t mode,const string& identity,const string& return_to,const string& trust_root="",extension_t *ext=0) { 27 string checkid_(mode_t mode,const string& identity,const string& return_to,const string& trust_root="",extension_t *ext=0) {
31 return consumer_t::checkid_(mode,identity,return_to,trust_root,this); 28 return consumer_t::checkid_(mode,identity,return_to,trust_root,this);
32 } 29 }
33 void id_res(const params_t& pin,const string& identity="",extension_t *ext=0) { 30 void id_res(const params_t& pin,const string& identity="",extension_t *ext=0) {
34 consumer_t::id_res(pin,identity,this); 31 consumer_t::id_res(pin,identity,this);
35 } 32 }
36 33
37 }; 34 };
38 35
39} 36}
40 37
41#endif /* __OPKELE_XCONSUMER_H */ 38#endif /* __OPKELE_XCONSUMER_H */