summaryrefslogtreecommitdiffabout
AgeCommit message (Collapse)AuthorFilesLines
2008-05-18update libcurl.m4 to fix breakage with -Wl,--as-needed ld flagspublic/devel/oauthdevel/oauthMichael Krelin1-24/+55
Thanks to Samuli Suominen of Gentoo project for spotting it Signed-off-by: Michael Krelin <hacker@klever.net>
2008-05-18more checks on response validity during token acquisitionMichael Krelin2-0/+9
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-05-17slight doxygenization of OAuth partMichael Krelin1-2/+180
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-05-17doxygen fixesMichael Krelin2-2/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-05-17doxygen: add oauth directory to doxygen inputMichael Krelin1-0/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-04-06Merge branch 'devel/openid20' into devel/oauthMichael Krelin1-0/+1
2008-04-06fix for discovery failing on some entities coming before the tag of interestMichael Krelin1-0/+1
One of the numerous opportunities to express my gratitude by means of commit message to Joseph Smarr of Plaxo for spotting it. Thanks, Joseph! Signed-off-by: Michael Krelin <hacker@klever.net>
2008-04-06Merge commit '1e3ed01c149aaeed5a64aacff218a5486128fc92' into devel/openid20Michael Krelin8-100/+157
2008-04-06empty trust_root is no trust root.Michael Krelin1-0/+6
work around some thoughtful and considerate RPs that take the pain of sending the trust_root parameter, but do not go into as much trouble as setting it to anything but an empty string. Signed-off-by: Michael Krelin <hacker@klever.net>
2008-04-06Merge commit 'devel/devel/oauth' into devel/oauthMichael Krelin1-0/+6
2008-04-05empty trust_root is no trust root.Michael Krelin1-0/+6
work around some thoughtful and considerate RPs that take the pain of sending the trust_root parameter, but do not go into as much trouble as setting it to anything but an empty string. Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-14do not attempt to build programs dependent on absent librariesMichael Krelin1-1/+4
Thanks, Joseph, for spotting it! Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-08updated test oauth consumerMichael Krelin1-5/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-08moving towards simplifying request-making.Michael Krelin2-7/+25
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-07comitting updated test consumerMichael Krelin1-14/+4
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-07added a helper to prepare curl request based on http_request_tMichael Krelin2-0/+33
* added curl_slist to http_request_t structure * added http_request_t::setup_curl(CURL*) Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-07install opkele/curl.h wrapper headerMichael Krelin1-1/+2
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-04comitting perliminary oauth consumer apiMichael Krelin10-15/+559
* added the said consumer api and test consumer * added trivial map-based opkele::fields_t container * added UUID flags to libopkele.la build * fixed query_append so that it doesn't append '?' in absence of query parameters * added basic_fields::from_query() Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-04added curl_slist wrapperMichael Krelin2-0/+40
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-04propagate results of libuuid detectionMichael Krelin2-1/+5
* add AC_DEFINE to configure.ac * add dependency to libopkele.pc.in Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-03renamed basic_message to basic_fieldsMichael Krelin4-91/+97
since oauth fieldsets aren't really messages Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-03removed basic_message::fields_t typedefMichael Krelin1-1/+0
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-03introduced base_message class as a base for basic_openid_messageMichael Krelin3-65/+73
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-03added append_to() to basic_openid_messageMichael Krelin2-3/+7
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-02aded util::url_decode()Michael Krelin2-1/+37
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-02reinstated prefix handling in query buildingMichael Krelin2-11/+13
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-02made util::url_encode refrain from encoding unreserved charsMichael Krelin1-6/+33
as per rfc 3986 Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-02added missing include to util-internal.hMichael Krelin1-0/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-22fix the discovery for the case when identity URL points to XRDS document.Michael Krelin1-1/+7
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-19added an identifier normalization utility functionMichael Krelin5-12/+53
* moved iname leader characters and whitespace characters strings to opkele::data namespace * added opkele::util::normalize_identifier() function Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-19basic_RP: add methods for accessing identity information passed from OP.Michael Krelin2-2/+63
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-19use local array for hmac when calculating signatureMichael Krelin1-4/+7
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-16do not tidy XRD documentsMichael Krelin1-2/+2
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-16moved some stuff out of the now installed util.h headerMichael Krelin8-82/+110
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-15small fix to openid message find_ns methodMichael Krelin1-2/+4
it foolishly failed in presence of ns field and absence of namespace in question. Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-12slight api improvement to ease caching of discovery informationMichael Krelin4-4/+19
* added opend_endpoint_output_iterator to types.h * changed endpoint_discovery_iterator to the aforementioned iterator typedef * added discover() virtual to prequeue_RP and made use thereof. Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-11more cleanupMichael Krelin1-1/+0
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-11removed obsoleted functions in test RPMichael Krelin1-28/+0
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-11allow to add prefix to generated htmlhiddensMichael Krelin2-6/+10
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-09OP fixesMichael Krelin1-3/+3
* allocate stateful handles when processing associate request * use the expiration from allocated handle, not empty shared_ptr Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-08minor fixes and making compiler a bit happierMichael Krelin16-77/+77
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-08a bit of doxygenation for prequeue_RPMichael Krelin1-1/+8
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-08renamed verify_op to verify_OPMichael Krelin4-4/+4
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-08further doxygenation of basic_OP, extension_t and verify_OPMichael Krelin3-0/+21
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-08further doxygenation of basic_OPMichael Krelin1-2/+75
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-08renamed basic_op class to basic_OPMichael Krelin5-29/+134
and doxygenated basic_OP a bit. Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-08do not allocate stateless assoc ahead of timeMichael Krelin1-5/+4
that would just pollute the database Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-04reworked extensions frameworkMichael Krelin10-67/+121
* changed {checkid,id_res}_hook to {rp,op}_{checkid,id_res}_hook * deprecated older hooks, although implemented it in sreg and chain extensions * added extension processing to basic_op * added sreg to test OP Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-03openid 1 compatibility fix in OPMichael Krelin1-0/+1
I shouldn't be failing if there's no claimed_id field for OpenID 1 request. Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-03added test OPMichael Krelin4-4/+452
Signed-off-by: Michael Krelin <hacker@klever.net>