View Full Version : Introducing a new easy and powerful OAuth library for Qt - kQOAuth

3rd November 2010, 22:22
Hi all,

I wanted to let you know that I have created a new OAuth library for Qt called kQOAuth. I am still to add more documentation, but you can read about it here:


I will add a dedicated page for kOQAuth on my site in a few days. In the meantime I am more than happy to answer any questions about it here.

Source code is licensed under the LGPL license and source can be found in Gitorious: http://www.gitorious.org/kqoauth/kqoauth

My motivation for this library came from the existing Qt based OAuth library, QOAuth. But I felt I wanted to improve on it in some respect. So here are the features of kQOAuth in a nutshell:
- Fully asynchronous using signals and slots. Integrates very nicely in any Qt program
- Easy way to retrieve user authorization by opening a web page. Built in HTTP server will parse the reply for you.
- No external dependencies to e.g. QCA.
- Convenience APIs for very easy OAuth authentication. See example TwitterCLI program that implements a command line Twitter client in some tens lines of code.
- Yet powerful; if you want to have full control of the authentication process, you will get all necessary signals and you can create all requests yourself.

Tested against Twitter.


PS. The k comes from Kypeli, not from KDE.

16th June 2011, 08:39
Does kqouth library be used for Google contacts api.
If so can you please post sample codes for google contacts apis authorization.

Thanks in advance