-rw-r--r-- | include/opkele/oauth_ext.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/opkele/oauth_ext.h b/include/opkele/oauth_ext.h index 37a826b..657defa 100644 --- a/include/opkele/oauth_ext.h +++ b/include/opkele/oauth_ext.h | |||
@@ -9,33 +9,24 @@ | |||
9 | #include <opkele/extension.h> | 9 | #include <opkele/extension.h> |
10 | 10 | ||
11 | namespace opkele { | 11 | namespace opkele { |
12 | 12 | ||
13 | /** | 13 | /** |
14 | * OpenID OAuth extension | 14 | * OpenID OAuth extension |
15 | * http://step2.googlecode.com/svn/spec/openid_oauth_extension/latest/openid_oauth_extension.html | 15 | * http://step2.googlecode.com/svn/spec/openid_oauth_extension/latest/openid_oauth_extension.html |
16 | */ | 16 | */ |
17 | class oauth_ext_t : public extension_t { | 17 | class oauth_ext_t : public extension_t { |
18 | public: | 18 | public: |
19 | std::string m_consumer, m_scope, m_request_token; | 19 | std::string m_consumer, m_scope, m_request_token; |
20 | 20 | ||
21 | /** | ||
22 | * Consumer constructor. | ||
23 | * @param fr required fields | ||
24 | * @see fields_required | ||
25 | * @param fo optional fields | ||
26 | * @see fields_optional | ||
27 | * @param pu policy url | ||
28 | * @see policy_url | ||
29 | */ | ||
30 | oauth_ext_t(const char *consumer = "", const char *scope = "") : m_consumer(consumer), m_scope(scope) { } | 21 | oauth_ext_t(const char *consumer = "", const char *scope = "") : m_consumer(consumer), m_scope(scope) { } |
31 | 22 | ||
32 | virtual void rp_checkid_hook(basic_openid_message& om); | 23 | virtual void rp_checkid_hook(basic_openid_message& om); |
33 | virtual void rp_id_res_hook(const basic_openid_message& om, | 24 | virtual void rp_id_res_hook(const basic_openid_message& om, |
34 | const basic_openid_message& sp); | 25 | const basic_openid_message& sp); |
35 | virtual void op_checkid_hook(const basic_openid_message& inm); | 26 | virtual void op_checkid_hook(const basic_openid_message& inm); |
36 | virtual void op_id_res_hook(basic_openid_message& oum); | 27 | virtual void op_id_res_hook(basic_openid_message& oum); |
37 | 28 | ||
38 | virtual void checkid_hook(basic_openid_message& om); | 29 | virtual void checkid_hook(basic_openid_message& om); |
39 | virtual void id_res_hook(const basic_openid_message& om, | 30 | virtual void id_res_hook(const basic_openid_message& om, |
40 | const basic_openid_message& sp); | 31 | const basic_openid_message& sp); |
41 | virtual void checkid_hook(const basic_openid_message& inm, | 32 | virtual void checkid_hook(const basic_openid_message& inm, |