summaryrefslogtreecommitdiffabout
path: root/include/opkele/ax.h
Side-by-side diff
Diffstat (limited to 'include/opkele/ax.h') (more/less context) (ignore whitespace changes)
-rw-r--r--include/opkele/ax.h6
1 files changed, 3 insertions, 3 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
@@ -2,26 +2,26 @@
#define __OPKELE_AX_H
/**
* @file
* @brief Attribute Exchange extension
*/
#include <opkele/extension.h>
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". */
static const int UNLIMITED_COUNT = -1;
/**
* Optional URL for receiving future attribute updates.
* Set it before checkid_setup to send up the URL; read it after id_res to get it back.
*/
std::string update_url;
@@ -71,14 +71,14 @@ namespace opkele {
std::string alias;
bool required;
int count;
};
std::vector<ax_attr_t> attrs;
unsigned int alias_count; // auto-incr counter for auto-named aliases
/** Stores results from fetch response during id_res. */
std::map<std::string, std::vector<std::string> > response_attrs;
};
}
-#endif /* __OPKELE_SREG_H */
+#endif /* __OPKELE_AX_H */