summaryrefslogtreecommitdiffabout
path: root/include/opkele/extension_chain.h
Unidiff
Diffstat (limited to 'include/opkele/extension_chain.h') (more/less context) (show whitespace changes)
-rw-r--r--include/opkele/extension_chain.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/opkele/extension_chain.h b/include/opkele/extension_chain.h
index 955f4d5..f0eea94 100644
--- a/include/opkele/extension_chain.h
+++ b/include/opkele/extension_chain.h
@@ -4,19 +4,16 @@
4/** 4/**
5 * @file 5 * @file
6 * @brief extension chain extension 6 * @brief extension chain extension
7 */ 7 */
8 8
9#include <list> 9#include <list>
10#include <opkele/extension.h> 10#include <opkele/extension.h>
11 11
12/**
13 * @brief the main opkele namespace
14 */
15namespace opkele { 12namespace opkele {
16 using std::list; 13 using std::list;
17 14
18 /** 15 /**
19 * OpenID extensions chain used to combine extensions, it is actually an 16 * OpenID extensions chain used to combine extensions, it is actually an
20 * stl list of pointers to extensions. 17 * stl list of pointers to extensions.
21 */ 18 */
22 class extension_chain_t : public extension_t, public list<extension_t*> { 19 class extension_chain_t : public extension_t, public list<extension_t*> {
@@ -26,25 +23,16 @@ namespace opkele {
26 * Default constructor creates an empty chain 23 * Default constructor creates an empty chain
27 */ 24 */
28 extension_chain_t() { } 25 extension_chain_t() { }
29 /** 26 /**
30 * Create extension chain with a single extension in it 27 * Create extension chain with a single extension in it
31 */ 28 */
32 extension_chain_t(extension_t *e) { push_back(e); } 29 extension_chain_t(extension_t *e) { push_back(e); }
33 30
34 /**
35 * Implementation of consumer's checkid hook
36 */
37 virtual void checkid_hook(params_t& p,const string& identity); 31 virtual void checkid_hook(params_t& p,const string& identity);
38 /**
39 * Implementation of consumer's id_res hook
40 */
41 virtual void id_res_hook(const params_t& p,const params_t& sp,const string& identity); 32 virtual void id_res_hook(const params_t& p,const params_t& sp,const string& identity);
42 /**
43 * Implementation of server's checkid_hook
44 */
45 virtual void checkid_hook(const params_t& pin,params_t& pout); 33 virtual void checkid_hook(const params_t& pin,params_t& pout);
46 }; 34 };
47 35
48} 36}
49 37
50#endif /* __OPKELE_EXTENSION_CHAIN_H */ 38#endif /* __OPKELE_EXTENSION_CHAIN_H */