author | Michael Krelin <hacker@klever.net> | 2007-12-09 17:22:06 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-12-09 22:08:24 (UTC) |
commit | c34adc6e274c3dbb63af99ca566000e7d218244c (patch) (unidiff) | |
tree | 705624c208deb4eaf8d07c119a883e6f4f35236e /include/opkele/uris.h | |
parent | 60fdaff7888b455b4d07eadc905cefd20f1ddd3c (diff) | |
download | libopkele-c34adc6e274c3dbb63af99ca566000e7d218244c.zip libopkele-c34adc6e274c3dbb63af99ca566000e7d218244c.tar.gz libopkele-c34adc6e274c3dbb63af99ca566000e7d218244c.tar.bz2 |
reworked identity resolution and service discovery
The discovery, which does both XRDS-based (Yadis, XRI, for XRI, using proxy)
and HTML-based search, now returns results in opkele:idiscovery_t structure.
It uses expat-based parser idigger_t, which itself is not exposed via any
header files, but hidden in lib/discovery.cc, the discovery testing program is
renamed from openid_resolve to idiscover.
Signed-off-by: Michael Krelin <hacker@klever.net>
-rw-r--r-- | include/opkele/uris.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/include/opkele/uris.h b/include/opkele/uris.h index 9a6a3cd..a432b13 100644 --- a/include/opkele/uris.h +++ b/include/opkele/uris.h | |||
@@ -1,10 +1,15 @@ | |||
1 | #ifndef __OPKELE_URIS_H | 1 | #ifndef __OPKELE_URIS_H |
2 | #define __OPKELE_URIS_H | 2 | #define __OPKELE_URIS_H |
3 | 3 | ||
4 | #define NSURI_XRDS "xri://$xrds" | 4 | #define NSURI_XRDS "xri://$xrds" |
5 | #define NSURI_XRD "xri://$xrd*($v*2.0)" | 5 | #define NSURI_XRD "xri://$xrd*($v*2.0)" |
6 | #define NSURI_OPENID10 "http://openid.net/xmlns/1.0" | 6 | #define NSURI_OPENID10 "http://openid.net/xmlns/1.0" |
7 | 7 | ||
8 | #define STURI_OPENID10 "http://openid.net/signon/1.0" | 8 | #define STURI_OPENID10 "http://openid.net/signon/1.0" |
9 | #define STURI_OPENID11 "http://openid.net/signon/1.1" | ||
10 | #define STURI_OPENID20 "http://specs.openid.net/auth/2.0/signon" | ||
11 | #define STURI_OPENID20_OP"http://specs.openid.net/auth/2.0/server" | ||
12 | |||
13 | #define IDURI_SELECT20 "http://specs.openid.net/auth/2.0/identifier_select" | ||
9 | 14 | ||
10 | #endif /* __OPKELE_URIS_H */ | 15 | #endif /* __OPKELE_URIS_H */ |