Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » OAuth2 package for U++
OAuth2 package for U++ [message #50193] Wed, 22 August 2018 14:23 Go to next message
Oblivion is currently offline  Oblivion
Messages: 928
Registered: August 2007
Experienced Contributor
Hello,

Some time ago I wrote an OAuth2 package to simplify access to protected web resources.
I'm hereby releasing it to the public, so that someone may find it useful.

It's nothing fancy, but easy-to-use and flexible enough. (It can work with both default web browser or an embedded browser, such as CEF)

This package encapsulates the authorization code grant flow of OAuth2 authorization protocol.
It provides the native clients (such as desktop applications) with a means for safely accessing
protected resources.

Reference examples:
-------------------

- OAuth2Example: Demonstrates a OAuth2-based Google Drive access grant.
- OAuthGUI:      Demonstrates the GUI integration of OAuth2 package, using U++/CEF wrapper.
History:
--------

2018-08-22:   Initial release.


Package: https://github.com/ismail-yilmaz/upp-components/tree/master/ Core/OAuth
Examples (Console): https://github.com/ismail-yilmaz/upp-components/tree/master/ Examples/OAuth2Example
Example (GUI): https://github.com/ismail-yilmaz/upp-components/tree/master/ Examples/OAuth2GUI


Bug reports, suggestions, fixes, etc. is appreciated.

Best regards,
Oblivion


[Updated on: Mon, 27 August 2018 01:22]

Report message to a moderator

Re: OAuth2 package for U++ [message #50204 is a reply to message #50193] Mon, 27 August 2018 01:28 Go to previous message
Oblivion is currently offline  Oblivion
Messages: 928
Registered: August 2007
Experienced Contributor
Hello everyone,

I added a basic GUI example to the OAuth package.

It demonstrates a basic authentication dialog for Google Drive, using the U++/CEF wrapper, namely Bazaar/ChromiumBrowser.
The authentication dialog can be called within any U++ gui app.

As you can see in the example code, it is very easy to integrate the OAuth2Request class into any type of apps, be it console or gui-based.

Here's a screenshot:

index.php?t=getfile&id=5645&private=0


Example: https://github.com/ismail-yilmaz/upp-components/tree/master/ Examples/OAuth2GUI

Best regards,
Oblivion
  • Attachment: OAuth2Gui.png
    (Size: 192.82KB, Downloaded 257 times)


Previous Topic: Protect package - A starting copy protection system
Next Topic: ChromiumBrowserExample error at compile
Goto Forum:
  


Current Time: Mon Oct 18 10:27:15 CEST 2021

Total time taken to generate the page: 0.00881 seconds