summaryrefslogtreecommitdiffabout
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2008-01-04gitignored tr1-mem.hMichael Krelin1-0/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-04added openid.sreg.ns parameter to sreg extensionMichael Krelin1-0/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-04added missing fileMichael Krelin1-0/+10
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-04changed auto_ptr to shared_ptrMichael Krelin4-10/+10
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-04idiscovery_t() default constructor and a couple of helpersMichael Krelin1-0/+6
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-12-17made secret_t non-constant size and added params_t::query_string functionMichael Krelin1-5/+13
1. removed checking that secret_t is exactly 20 bytes, because its size is not so constant anymore. 2. added a query_string function that produces a query string suitable for use in GET and POST requests. I'm making use of it when performing direct request when establishing associations. Signed-off-by: Michael Krelin <hacker@klever.net>
2007-12-17added openid.ns uri to uris.hMichael Krelin1-0/+2
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-12-17moved curl_fetch_string_t/curl_pick_t classes into curl.hMichael Krelin1-0/+24
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-12-13keep track of whether the identity being discovered is XRIMichael Krelin1-0/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-12-09don't install internal-use headersMichael Krelin1-1/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-12-09Merge branch 'next' into devel/xriMichael Krelin2-0/+15
2007-12-09reworked identity resolution and service discoveryMichael Krelin6-123/+125
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>
2007-12-04Minor improvementsMichael Krelin2-0/+15
- almost irrelevant documentation updates - introduced id_res_expired_on_delivery exception to be thrown if the association has expired right before it could've been used for signature verification. Signed-off-by: Michael Krelin <hacker@klever.net>
2007-12-02first cut on XRI resolverMichael Krelin3-3/+133
This commit adds openid service resolver that does discovery using XRI (proxy only), Yadis protocol and html-based discovery. It uses expat as xml parsing engine, which makes it a bit more strict about html it receives, but I think failing to discover links in *severely* broken html is better than misdetecting links, hidden in comments or such. This is highly experimental code and needs more thoughts and testing. Thanks everyone pushing me towards this development. Namely Joseph, John, Gen. Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-28added a trivial expat wrapperMichael Krelin2-1/+92
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-28keep keeping compilers happyMichael Krelin1-3/+3
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-28added header and progress callbacks to curl wrapperMichael Krelin1-0/+6
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-26encapsulated write functionality into curl_tMichael Krelin1-0/+3
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-24more curl wrapper cosmeticsMichael Krelin1-2/+13
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-24moved curl_t wrapper to util namespaceMichael Krelin2-1/+30
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-24added URI normalization procedure to opkele::utilMichael Krelin1-0/+10
as specified in RFC3896, section 6 Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-22added virtual destructors to base classesMichael Krelin4-0/+8
and bumped version to 0.4 Signed-off-by: Michael Krelin <hacker@klever.net>
2007-09-22got rid of all pcre wrappers altogetherMichael Krelin1-0/+9
although all claims against pcre++ make absolutely no sense. But for now I'll live with no wrappers at all. I may reconsider it when implementing more sophisticated discovery mechanisms for upcoming extensions. Signed-off-by: Michael Krelin <hacker@klever.net>
2007-08-09fix to previous commitMichael Krelin1-0/+5
2007-08-09associations robustness improvements and documentation updatesMichael Krelin2-1/+20
2007-08-09make canonicalize follow redirectsMichael Krelin1-2/+9
- renamed old consumer_t::canonicalize to consumer_t::normalize - made the real canonicalize virtual to allow caching layer
2007-01-12doxygen improvementsMichael Krelin12-57/+9
2007-01-12typo fixMichael Krelin1-1/+1
2007-01-12added more doxygen commentsMichael Krelin1-0/+66
2007-01-12eliminated mimetic dependency and made use of openssl base64 encoder insteadMichael Krelin1-0/+5
2007-01-12extended server and consumer classesMichael Krelin5-8/+88
2007-01-11extension chainMichael Krelin2-1/+52
2007-01-11Simple Registration extensionMichael Krelin2-1/+208
2007-01-11doxygen improvementsMichael Krelin1-2/+9
2007-01-11doxygen writeup fixMichael Krelin1-1/+1
2007-01-11fixed a definition in headerMichael Krelin1-3/+3
2007-01-11introduced extension hooks frameworkMichael Krelin5-15/+92
2005-07-20doxygenated canonicalizeMichael Krelin1-0/+5
2005-07-20moved util::canonicalize_url to consumer classMichael Krelin2-1/+2
2005-07-19still finalizing stuff with eliminating konforka requirementMichael Krelin1-2/+6
2005-07-19initial commit of libopkele - OpenID support libraryMichael Krelin12-0/+789