GithubHelp home page GithubHelp logo

ssweeny / qoauth Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ayoy/qoauth

0.0 2.0 0.0 549 KB

A Qt-based C++ library for OAuth authorization scheme

License: GNU Lesser General Public License v2.1

C 1.74% QMake 3.58% C++ 94.34% Shell 0.33%

qoauth's Introduction

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 as well as online:
  http://files.ayoy.net/qoauth/1.0.1/doc

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.