summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--include/opkele/ax.h6
-rw-r--r--include/opkele/oauth_ext.h9
2 files changed, 3 insertions, 12 deletions
diff --git a/include/opkele/ax.h b/include/opkele/ax.h
index 996d756..ba629c1 100644
--- a/include/opkele/ax.h
+++ b/include/opkele/ax.h
@@ -10,10 +10,10 @@
namespace opkele {
/**
- * OpenID simple registration extension implementation
- * http://openid.net/specs/openid-simple-registration-extension-1_0.html
+ * OpenID attribute exchange extension implementation
+ * http://openid.net/specs/openid-attribute-exchange-1_0.html
*/
class ax_t : public extension_t {
public:
/** special "count" value for add_attribute to request fetching "as many values as possible". */
@@ -79,6 +79,6 @@ namespace opkele {
std::map<std::string, std::vector<std::string> > response_attrs;
};
}
-#endif /* __OPKELE_SREG_H */
+#endif /* __OPKELE_AX_H */
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
@@ -17,17 +17,8 @@ namespace opkele {
class oauth_ext_t : public extension_t {
public:
std::string m_consumer, m_scope, m_request_token;
- /**
- * Consumer constructor.
- * @param fr required fields
- * @see fields_required
- * @param fo optional fields
- * @see fields_optional
- * @param pu policy url
- * @see policy_url
- */
oauth_ext_t(const char *consumer = "", const char *scope = "") : m_consumer(consumer), m_scope(scope) { }
virtual void rp_checkid_hook(basic_openid_message& om);
virtual void rp_id_res_hook(const basic_openid_message& om,