GithubHelp home page GithubHelp logo

trivago / heimdall.droid Goto Github PK

View Code? Open in Web Editor NEW
258.0 258.0 23.0 45.02 MB

Easy to use OAuth 2 library for Android by trivago.

Home Page: http://trivago.github.io/Heimdall.droid/

License: Apache License 2.0

Kotlin 100.00%

heimdall.droid's People

Contributors

aharazim avatar anilanar avatar egor-n avatar eyedol avatar gi-lo avatar jitpack-io avatar lyssi avatar tibr avatar wching avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

heimdall.droid's Issues

How do I logout?

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).

question to get refresh token

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"

Update dependencies

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

Migration to Kotlin

It would be nice to update the library to use Kotlin instead :)

Should be done when #46 is merged.

Question: minSDK

Any reason why this library's minSDK is so high? Currently is at 15

Pre release check

  • gradle repo
  • project structure
  • method names
  • spelling mistakes
  • Test Retrolambda usage

Remove unneeded files

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 release -> Inspect Code

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.