-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com    Open-PC.com   
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (3) .- Knowledge Base  . 

QOAuth

   1.0  

Qt Component

Link:  Link
Depends on:  Qt 4.x
Downloads:  646
Submitted:  Jun 24 2009
Updated:  Aug 8 2009
Score: 
score63%63%score
 63% good
bad   good

Description:

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/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
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




Changelog:

v1.0 (07/08/2009):
* Added support for RSA-SHA1 signing algorithm, also working with
passphrase-protected private RSA keys.
* Added initial support for PLAINTEXT authorization.
* inlineParameters() extended by the parameter specifying parsing method,
* Introduced the QOAuth namespace, with QOAuth::Interface class holding the core
functionality.
v0.1.0 (23/06/2009):
* Initial release of the QOAuth library, implementation of the OAuth
authorization flow with support for encrypting QOAuth requests using HMAC-SHA1
algorithm.




LicenseLGPL
Source(qoauth-1.0-src.tar.bz2)
Mac OS X(qoauth-1.0.dmg)
Ubuntu(Jaunty i386 and amd64)
Debian(Lenny amd64)
Fedora(Fedora 11 i586 and amd64)
send to a friend
subscription
other apps from ayoy



-
.

 tested on karmic

 
 by mariuz on: Jun 30 2009
 

and basic install works

you need libqca2-dev installed


reply to this

-
.

 Re: tested on karmic

 
 by ayoy on: Jun 30 2009
 

Good to hear this, thanks! But to make use of the library, you would need also libqca2-plugin-ossl. It compiles without it, but uses its functionality for HMAC-SHA1 encryption.


reply to this

-
.

 thanks seems to be installed

 
 by mariuz on: Jun 30 2009
 

sudo apt-get install libqca2-plugin-ossl

libqca2-plugin-ossl is already the newest version.


Oh well now try to compile the qtwitter

but that is another issue
/home/mariuz/work/qtwitter/qtwitter-app/src/core.cpp:71: undefined reference to `TwitterAPIInterface::setConsumerKey(QByteArray const&)'


reply to this

-

 Re: thanks seems to be install

 
 by ayoy on: Jun 30 2009
 

Are you sure you're compiling the most fresh code from github? It works for me on several distros, including Debian. If you like, you can report a bug http://ayoy.lighthouseapp.com/projects/27230-qtwitter/tickets?q=all, but please provide info on your host and qtwitter's version that you are building etc.


reply to this

-

 Oauth error

 
 by mariuz on: Jul 1 2009
 

here is the error on ubuntu karmic
with qt 4.5.2

http://paste.ubuntu.com/207485/


reply to this

-

 Re: Oauth error

 
 by mariuz on: Jul 1 2009
 

qtwitter latest from git


reply to this

-
.

 Re: Re: Oauth error

 
 by ayoy on: Jul 1 2009
 

From what I see, you probably have previously compiled and installed qtwitter without OAuth support, and now trying to compile it with OAuth enabled. Prior to it, please uninstall the previous installation (sudo make uninstall in qtwitter's source directory should do the job). Then make distclean, and start again with qmake and make.

The problem is that while linking, linker refers to libtwitterapi installed in system (without OAuth support) and not the one just compiled. I repeated this scenarion in Jaunty and got the same errors, so I guess that's it.


reply to this

-
.

 Re: Re: Re: Oauth error

 
 by mariuz on: Jul 1 2009
 

Thanks that was the issue


reply to this

-

 How to complie in Window?

 
 by fifawww on: Jan 3 2010
 

I complie the code with vs2008,But it didn't work.It show there messages:
error LNK2019: unresolved external symbol class QByteArray __cdecl QOAuth::tokenSecretParameterName(void)...

error LNK2019: unresolved external symbol class QByteArray __cdecl QOAuth::tokenParameterName(void)......

error LNK2019: unresolved external symbol
public: class QMultiMap<class QByteArray,class QByteArray> __thiscall QOAuth::InterfacePrivate::replyToMap....

ayoy,Can you know how to deal with this?


reply to this

-
.

 why?

 
 by Stil-r on: May 9 2010
 

>This file is a part of libqoauth. You should not include it directly in your application.


reply to this

add commentback




-
-
all messages
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About Qt-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2006-2010 Qt-Apps.org Team  
All rights reserved. Qt-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
Qt is a trademarks of Nokia