OAuth Library for the BlackBerry Cascades framework supporting both OAuth 1.0 and 2.0
Find a file
2017-11-05 06:26:35 -08:00
oauth replace native browser invocation with signal 2017-11-05 06:15:08 -08:00
README.md fix formatting of README 2017-11-05 06:26:35 -08:00

About the oauth library for BlackBerry 10

This is a OAuth library built for the Cascades development framework for BlackBerry 10. It is a fork and BlackBerry specific implementation of the KQOauth library that can be found here http://www.gitorious.org/kqoauth under the LGPL license.

This library supports both OAuth1 and OAuth2 authorization flow and authorized requests. For authentication, both XAuth and the normal Token flow are supported. If using the token flow, your api provider must support a callback url so the library can process the auth. It uses the native BlackBerry browser for authentication and handles callbacks from there via http://localhost.

You will be able to provide a local html file that shows to the user in the native browser after they successfully authorize your app.

Stay tuned for examples on each method coming soon.

Build

Simulator

qmake -spec blackberry-x86-qcc CONFIG+=debug CONFIG+=simulator
make

Device

qmake -spec blackberry-armv7le-qcc CONFIG+=debug_and_release CONFIG+=device
make