trivago / heimdall.droid Goto Github PK
View Code? Open in Web Editor NEWEasy to use OAuth 2 library for Android by trivago.
Home Page: http://trivago.github.io/Heimdall.droid/
License: Apache License 2.0
Easy to use OAuth 2 library for Android by trivago.
Home Page: http://trivago.github.io/Heimdall.droid/
License: Apache License 2.0
Removing the token from OAuth2AccessTokenStorage doesn't require the user to login again. The login activity opens and closes in a couple of seconds automatically authenticating the user again.
(I'm using the Trakt API example).
What license should we use? Apache2, MIT, ... ?
We could create a GitHub Page similar to http://square.github.io/retrofit/
--- DELETED ---
Some OAuth2 providers (such as GitHub) provide tokens which do not expire.
Just a question to getting a new accesstoken via refreshtoken:
Is it normal that you don't send the authorizationHeader?
Or is this only for TrakTv?
Just wondering because here https://tools.ietf.org/html/rfc6749#section-6 is an example with
POST /token HTTP/1.1
Host: server.example.com
Authorization: Basic czZCaGRSa3F0MzpnWDFmQmF0M2JW
Content-Type: application/x-www-form-urlencoded
grant_type=refresh_token&refresh_token=tGzv3JOkF0XG5Qx2TlKWIA
---> "Authorization: Basic czZCaGRSa3F0MzpnWDFmQmF0M2JW"
Before release as an open source project make sure that all dependencies are up to date!
For example:
com.android.tools.build:gradle:1.0.0 -> update to 1.2.3
Add gradle support
It would be nice to update the library to use Kotlin instead :)
Should be done when #46 is merged.
I think that we should add CircleCI.
Any reason why this library's minSDK is so high? Currently is at 15
Create a nice and informative read me.
In this repository are some files that are unneeded! Please remove the file "local.properties" which specify your android sdk location. Also remove all *.iml files which are generated by your IDE.
Also don´t forget to update your gitignore.
Before you release as an open source project please run "inspect code".
It will give you some tips like unused imports, dependencies update or unnecessary interface modifier.
Try to create an OAuth2 conform retrofit provider implementation.
As a user of this library, I'd like to also have support for Kotlin Coroutines.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.