Skip to content

Commit

Permalink
Changed class name to QOAuth::Interface. Tests, documentation, exampl…
Browse files Browse the repository at this point in the history
…es, README and CHANGELOG updated. 1.0 :)
  • Loading branch information
ayoy committed Aug 7, 2009
1 parent 0dbfa4f commit 01ea007
Show file tree
Hide file tree
Showing 25 changed files with 217 additions and 204 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Expand Up @@ -8,5 +8,6 @@ tmp
commit-message.txt
moc_*
*.o
tests/ut_qoauth/ut_qoauth
tests/ft_qoauth/ft_qoauth
tests/ut_interface/ut_interface
tests/ft_interface/ft_interface
doc/html
9 changes: 8 additions & 1 deletion CHANGELOG
@@ -1,4 +1,11 @@
v 0.1.0 (23/06/2009):
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.
6 changes: 3 additions & 3 deletions README
Expand Up @@ -9,10 +9,10 @@ developer no more than 4 methods, namely:
* inlineParemeters() - to construct a query string basing on given parameters
(provided only for convenience).

First two methods serve application authorization purposes, whilst the third one
is used for accessing Protected Resources. The complete documentation is
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/doc
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:
Expand Down
2 changes: 1 addition & 1 deletion doc/examples/requestToken.cpp
@@ -1,7 +1,7 @@
QByteArray token;
QByteArray tokenSecret;

QOAuth::QOAuth qoauth = new QOAuth::QOAuth;
QOAuth::Interface qoauth = new QOAuth::Interface;
// set the consumer key and secret
qoauth->setConsumerKey( "75b3d557c9268c49cfdf041a" );
qoauth->setConsumerSecret( "fd12803fbf0760d34cd2ceb9955199ce" );
Expand Down
2 changes: 1 addition & 1 deletion include/QtOAuth
@@ -1 +1 @@
#include "qoauth.h"
#include "interface.h"
1 change: 1 addition & 0 deletions include/interface.h
@@ -0,0 +1 @@
#include "../src/interface.h"
4 changes: 2 additions & 2 deletions qoauth.pro
Expand Up @@ -9,7 +9,7 @@ check.target = check
# and depends also on an external server. When using in an automatic
# build environment, it's recommended not to run the functional test.

isEmpty(FUNC_TEST): check.commands = cd tests/ut_qoauth && ./ut_qoauth
else: check.commands = ( cd tests/ut_qoauth && ./ut_qoauth ) && ( cd tests/ft_qoauth && ./ft_qoauth )
isEmpty(FUNC_TEST): check.commands = cd tests/ut_interface && ./ut_interface
else: check.commands = ( cd tests/ut_interface && ./ut_interface ) && ( cd tests/ft_interface && ./ft_interface )
check.depends = sub-tests
QMAKE_EXTRA_TARGETS += check

0 comments on commit 01ea007

Please sign in to comment.