Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a OAuth2 library for Java / Android already? [closed]

I don't want to code things that already exist...

like image 917
OneWorld Avatar asked Nov 11 '10 09:11

OneWorld


2 Answers

Check mature and lightweight leeloo OAuth 2.0 Java library: http://leeloo.smartam.net/

It implements draft 10 of OAuth 2.0 specification and help you to build client, authorization and resource server.

It was not tested on an Android platform, but you are welcome to provide a feedback.

like image 108
Lukasz Moren Avatar answered Nov 08 '22 12:11

Lukasz Moren


I know this post is a little old, but since google always directs me to this one when I search for an Android OAuth 2.0 library, I think I need to tell you about OAuth2Android:

Currently it supports Bearer-Tokens and MAC-Tokens based on the specifications:

draft-ietf-oauth-v2-16
draft-ietf-oauth-v2-bearer-06
draft-ietf-oauth-v2-http-mac-00

Other extensions are also possible and it will be updated.

You need at least Android Platform Version 2.3.3; API Level 10. You can get it here:
https://github.com/Xotan/OAuth2Android
or
[email protected]:Xotan/OAuth2Android.git

regards Christoph

like image 24
GameDroids Avatar answered Nov 08 '22 11:11

GameDroids