summaryrefslogtreecommitdiffabout
path: root/include/opkele/basic_rp.h
Unidiff
Diffstat (limited to 'include/opkele/basic_rp.h') (more/less context) (ignore whitespace changes)
-rw-r--r--include/opkele/basic_rp.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/opkele/basic_rp.h b/include/opkele/basic_rp.h
index 3f17fd9..d5356aa 100644
--- a/include/opkele/basic_rp.h
+++ b/include/opkele/basic_rp.h
@@ -3,3 +3,2 @@
3 3
4#include <cstring>
5#include <string> 4#include <string>
@@ -11,19 +10,2 @@ namespace opkele {
11 10
12 struct openid_endpoint_t {
13 string uri;
14 string claimed_id;
15 string local_id;
16
17 openid_endpoint_t() { }
18 openid_endpoint_t(const string& u,const string& cid,const string& lid)
19 : uri(u), claimed_id(cid), local_id(lid) { }
20
21 bool operator==(const openid_endpoint_t& x) const {
22 return uri==x.uri && local_id==x.local_id; }
23 bool operator<(const openid_endpoint_t& x) const {
24 int c;
25 return (c=strcmp(uri.c_str(),x.uri.c_str()))
26 ? (c<0) : (strcmp(local_id.c_str(),x.local_id.c_str())<0); }
27 };
28
29 class basic_RP { 11 class basic_RP {