summaryrefslogtreecommitdiffabout
path: root/include/opkele
authorMichael Krelin <hacker@klever.net>2007-01-12 15:14:16 (UTC)
committer Michael Krelin <hacker@klever.net>2007-01-12 15:14:16 (UTC)
commit9caa31b962c42cf64ce03893ba616b135de12bbd (patch) (side-by-side diff)
tree63b0b37d8cd4e9f334d9092f163fc6513c7a216f /include/opkele
parentb4d71b02f52ce819db836e0e7418057f4d970da4 (diff)
downloadlibopkele-9caa31b962c42cf64ce03893ba616b135de12bbd.zip
libopkele-9caa31b962c42cf64ce03893ba616b135de12bbd.tar.gz
libopkele-9caa31b962c42cf64ce03893ba616b135de12bbd.tar.bz2
typo fix
Diffstat (limited to 'include/opkele') (more/less context) (ignore whitespace changes)
-rw-r--r--include/opkele/association.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/opkele/association.h b/include/opkele/association.h
index 5eb1cc3..ef0df42 100644
--- a/include/opkele/association.h
+++ b/include/opkele/association.h
@@ -1,89 +1,89 @@
#ifndef __OPKELE_ASSOCIATION_H
#define __OPKELE_ASSOCIATION_H
#include <time.h>
#include <opkele/types.h>
/**
* @file
* @brief reference implementation of association_t
*/
/**
* @brief the main opkele namespace
*/
namespace opkele {
/**
* reference implementation of association_t class.
*/
class association : public association_t {
public:
/**
* OpenID server name
*/
string _server;
/**
* association handle
*/
string _handle;
/**
* association type
*/
string _assoc_type;
/**
* the secret
*/
secret_t _secret;
/**
* expiration time
*/
time_t _expires;
/**
* statelessness of the assoc_handle
*/
bool _stateless;
/**
* @param __server the server name
* @param __handle association handle
* @param __assoc_type association type
* @param __secret the secret
* @param __expires expiration time
* @param __stateless statelessness of the assoc_handle
*/
association(const string& __server, const string& __handle,
const string& __assoc_type, const secret_t& __secret,
time_t __expires, bool __stateless)
: _server(__server), _handle(__handle), _assoc_type(__assoc_type),
_secret(__secret), _expires(__expires), _stateless(__stateless) { }
/**
* @overload association_t::server()
*/
virtual string server() const { return _server; }
/**
* @overload association_t::handle()
*/
virtual string handle() const { return _handle; }
/**
* @overload association_t::assoc_type()
*/
virtual string assoc_type() const { return _assoc_type; }
/**
* @overload association_t::secret()
*/
virtual secret_t secret() const { return _secret; }
/**
* @overload association_t::expires_in()
*/
virtual int expires_in() const { return _expires-time(0); }
/**
- * @overload associationn_t::stateless()
+ * @overload association_t::stateless()
*/
virtual bool stateless() const { return _stateless; }
};
}
#endif /* __OPKELE_ASSOCIATION_H */