VictorAlbertos / RxSocialConnect-Android

OAuth RxJava extension for Android.
Apache License 2.0
257 stars 22 forks source link

Handle tokens without expiration date #18

Closed VictorAlbertos closed 7 years ago

VictorAlbertos commented 7 years ago

Some OAuth providers (such as Github) don't specify a date for the expiration's token. For that reason, the class OAuth2AccessToken throws a NP when it tries to access the value of getExpiresIn method.

Related with #17