summaryrefslogtreecommitdiffabout
path: root/include/opkele/extension.h
Side-by-side diff
Diffstat (limited to 'include/opkele/extension.h') (more/less context) (ignore whitespace changes)
-rw-r--r--include/opkele/extension.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/opkele/extension.h b/include/opkele/extension.h
index 513672f..3ee25ee 100644
--- a/include/opkele/extension.h
+++ b/include/opkele/extension.h
@@ -18,4 +18,5 @@ namespace opkele {
virtual ~extension_t() { }
+
/**
* hook called by consumer before submitting data to OpenID server.
@@ -28,5 +29,5 @@ namespace opkele {
* @see consumer_t::checkid_setup
*/
- virtual void checkid_hook(params_t& p,const string& identity);
+ virtual void checkid_hook(basic_openid_message& om);
/**
* hook called by consumer after identity information received from
@@ -40,5 +41,5 @@ namespace opkele {
* @see consumer_t::id_res
*/
- virtual void id_res_hook(const params_t& p,const params_t& sp,const string& identity);
+ virtual void id_res_hook(const basic_openid_message& om,const basic_openid_message& sp);
/**
@@ -52,5 +53,5 @@ namespace opkele {
* @see server_t::checkid_setup
*/
- virtual void checkid_hook(const params_t& pin,params_t& pout);
+ virtual void checkid_hook(const basic_openid_message& inm,basic_openid_message& oum);
/**