summaryrefslogtreecommitdiffabout
path: root/include/opkele
AgeCommit message (Collapse)AuthorFilesLines
2008-12-02support for unknown encoding in expat wrapperMichael Krelin1-0/+3
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-09-22A couple of bugfixesMichael Krelin1-1/+1
- added missing 'return' statement to the forward_iterator_proxy operator=() - made temporary non-static for thread safety in url_decode() Thanks to Masato Kataoka of orenosv project Signed-off-by: Michael Krelin <hacker@klever.net>
2008-06-27made gcc 4.3 a bit happierMichael Krelin1-2/+2
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-06-25improved detection of htmltidy for debian and co.Michael Krelin1-2/+9
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-04added curl_slist wrapperMichael Krelin1-0/+20
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-03renamed basic_message to basic_fieldsMichael Krelin1-13/+9
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 Krelin1-14/+28
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-03added append_to() to basic_openid_messageMichael Krelin1-0/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-02aded util::url_decode()Michael Krelin1-1/+9
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-03-02reinstated prefix handling in query buildingMichael Krelin1-2/+2
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-19added an identifier normalization utility functionMichael Krelin2-0/+4
* 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 Krelin1-0/+36
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-16moved some stuff out of the now installed util.h headerMichael Krelin2-81/+103
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-12slight api improvement to ease caching of discovery informationMichael Krelin3-2/+12
* 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-11allow to add prefix to generated htmlhiddensMichael Krelin1-1/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-08minor fixes and making compiler a bit happierMichael Krelin4-18/+20
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 Krelin2-2/+2
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 Krelin2-8/+113
and doxygenated basic_OP a bit. Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-04reworked extensions frameworkMichael Krelin4-43/+46
* 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-03added verify_op that performs discovery on the relying partyMichael Krelin1-0/+16
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-03added provisions for discovery on RPMichael Krelin1-1/+4
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-03moved openid_endpoint_t to types.hMichael Krelin2-18/+18
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-03added return_to service type to uris.hMichael Krelin1-0/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-02moved uri matching into separate procedureMichael Krelin1-0/+8
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-02added missing basic_op.h headerMichael Krelin1-0/+68
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-02check if return_to matches realmMichael Krelin1-0/+9
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-02first rough cut on OP 2.0 implementationMichael Krelin1-0/+27
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-02added util::attr_escapeMichael Krelin1-0/+7
escaping string for inclusion into x(ht)ml attributes Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-02generate html form hiddens from the openid messageMichael Krelin1-0/+2
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-31added util::change_mode_message_proxy classMichael Krelin1-0/+18
generatlized checkauth_message_proxy and added it to util namespace. To be later used for constructing setup url in 1.0 checkid_immediate reply. Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-30a few changes to the infrastructureMichael Krelin1-0/+2
* added mode_unknown to the mode_t enumeration * add to_keyvalues(ostream&) to openid message class * fixed openid_message_t::set_field for the case of overwriting Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-21Implement URI construction handling append='qxri' xrd:URI attribute.Michael Krelin1-1/+9
This is the right thing to do and may come in handy assisting OPs in improving UI. Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-20the whole library rewrittenMichael Krelin9-127/+479
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-20defined sreg 1.1 openid namespace URIMichael Krelin1-0/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-20opkele/iterator.h headerMichael Krelin1-0/+217
added a bunch of utility iterators * output and forward iterator proxies * filtering iterator * map key extracting iterator Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-20config header: define deprecation attributeMichael Krelin1-0/+4
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-12fixed priority_map comparison functionMichael Krelin1-1/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-06Revert "discovery: stop parser with XML_StopParser()" for nowMichael Krelin1-4/+2
This reverts commit 7bde7f66284b47a75bbceadc360e7f03550ace21. because some older expat version do not support this function I don't want to make it conditional for now. Conflicts: lib/discovery.cc Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-05added htmltidy dependencyMichael Krelin2-0/+84
- added libtidy detection to configure - added tidy flags to libopkele.pc.in - added primitive wrapper classes - added tidy exception class Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-05discovery: stop parser with XML_StopParser()Michael Krelin1-2/+4
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-04exception specializationsMichael Krelin1-1/+29
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-04id_res_cancel and id_res_bad_nonce exceptionsMichael Krelin1-0/+18
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-04output thrown exceptions to clog streamMichael Krelin2-5/+19
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-04exception fixes and enhancementsMichael Krelin1-1/+9
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-04parse ProviderID while doing discoveryMichael Krelin1-0/+4
Signed-off-by: Michael Krelin <hacker@klever.net>