Git Product home page Git Product logo

kypeli / kqoauth Goto Github PK

View Code? Open in Web Editor NEW
35.0 7.0 13.0 464 KB

kQOAuth is a library written in C++ for Qt that implements the OAuth 1.0 authentication specification RFC 5849 (http://tools.ietf.org/html/rfc5849). Greetings go to Dominik Kapusta for writing the original OAuth library using Qt, QOAuth (http://blog.ayoy.net/2009/6/24/oauth). However, I wanted to improve on the QOAuth’s approach in some ways. kQOAuth main features: Easy integrated solution for retrieving user authentication and access token. No external dependency to QCA. Convenient signals that can be used for easy OAuth authorization process handling. Access to request objects that will wrap request signing and network access, but still gives possibility for detailed control of the authentication process for easier integration to existing application logic.

License: GNU Lesser General Public License v2.1

IDL 3.81% C++ 95.90% Shell 0.28%

kqoauth's Introduction

kQOAuth

kQOAuth is a library written in C++ for Qt that implements the OAuth 1.0 authentication specification RFC 5849 (http://tools.ietf.org/html/rfc5849). Greetings go to Dominik Kapusta for writing the original OAuth library using Qt, QOAuth (http://blog.ayoy.net/2009/6/24/oauth). However, I wanted to improve on the QOAuth’s approach in some ways. kQOAuth main features: Easy integrated solution for retrieving user authentication and access token. No external dependency to QCA. Convenient signals that can be used for easy OAuth authorization process handling. Access to request objects that will wrap request signing and network access, but still gives possibility for detailed control of the authentication process for easier integration to existing application logic.

kqoauth's People

Contributors

0xd34df00d avatar euler0 avatar ivanku avatar jesper avatar katanacrimson avatar kypeli avatar mickeprag avatar mikhailramalho avatar obenschaink avatar smartboyhw avatar zchydem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

kqoauth's Issues

Libdir at ppc64

Hello. In the x64 openSUSE libs are situated at prefix/usr/lib64
The build at x86_64 succeeds, but at ppc64 libs are put to prefix/usr/lib

Auth Reply Server not reading any data

I am trying to use the library with Qt 5.0.2 and the Rdio API that uses OAuth but I am having trouble when it gets to the onBytesReady() slot of the KQOAuthAuthReplyServer.

After the line that reads:

QByteArray data = socket->readAll();

the data byte array is empty. I used wireshard to trace the TCP packets that are being sent from the rdio login page and I see a response that looks similar to the message below, but it is strange the server just can't seem to read the data. I have also noticed that the Rdio page then acts as if it didn't recieved the response and gets an error like the image attached.

GET /?oauth_verifier=0395&oauth_token=xq4k8j8qrsx4v7gk9a3s3ks7 HTTP/1.1
Host: localhost:49901
Connection: keep-alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: request_method=GET; _hasl-

screen shot 2013-06-07 at 9 47 50 pm

Any help is appreciated. Thanks

oauth_verifier missing

Service, which I use, doesn't send me oath_verifier parameter and I can't authorize application using ur library.
How I can fix this problem?

Example for two-legged authentication

Some services like Yahoo YQL for example, support making OAuth authenticated queries from server to server without user interaction or any concept of opening a webpage. Does kQOAuth support this, and if so, is there an example anywhere of how to use it in this way?

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.