I don't want to code things that already exist...
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With