Commit Graph
5 Commits
Author SHA1 Message Date
Michael Birtwell 8dc90d2687 Add me to the contributors list 2017-01-07 16:22:03 +00:00
Michael Birtwell d092683be3 Make is_token_expired public
Make is_token_expired_public on SpotifyClientCredentials and SpotifyOAuth.
This method is useful for checking whether tokens that have been stored in cookies etc have timed out. So it's useful for library users to have access to it.

Refactor common implementation of is_token_expired
2017-01-07 16:21:13 +00:00
Michael Birtwell 72a2fe489d Use six to simplify python 2/3 compatibilty code where possible 2017-01-07 15:18:46 +00:00
Michael Birtwell 5aadb284ff Add support for setting state in get_authorise_url
This allows for example putting a next page url in the state to be loaded after authorization completes.
2017-01-07 13:13:35 +00:00
Michael Birtwell 2b5583f2e6 Fix the unit tests
They were using the old name of refresh_access_token from before it was changed by @eugenio412.
2017-01-03 20:50:26 +00:00