Skip to content

ayoy/qoauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QOAuth is an attempt to support interaction with OAuth-powered network services
in a Qt way, i.e. simply, clearly and efficiently. It gives the application
developer no more than 4 methods, namely:

* requestToken() – to obtain an unauthorized Request Token,
* accessToken() – to exchange Request Token for the Access Token,
* createParametersString() – to construct a request according to OAuth
                             authorization scheme,
* inlineParemeters() - to construct a query string basing on given parameters
                       (provided only for convenience).

First two methods serve application authorization purposes, whilst the other two
are used for accessing Protected Resources. The complete documentation is
available locally.

QOAuth internally makes use of QCA (Qt Cryptographic Architecture). Here is the 
complete list of its dependencies:

1. Qt libraries 4.4 at least,
2. QCA (Qt Cryptographic Architecture), available from Delta XMPP Project
3. OpenSSL plugin to QCA, available from QCA homepage (this pulls in
  a dependency on OpenSSL of course).
Note: KDE users meet all the requirements out of the box.

HOW TO INSTALL:
  $ qmake
  $ make
  $ sudo make install

HOW TO USE:
Add these two lines to your project:
* in project file:
  CONFIG += oauth
* in source code:
  #include <QtOAuth>
You can start using QOAuth.

BUGS AND ISSUES:
report them to QOAuth's bug tracking system:
  http://ayoy.lighthouseapp.com/projects/32547-qoauth/tickets?q=all