Added a method to update the auth token (#479)

* Added a method to update the auth token

* trying to fix errors
This commit is contained in:
rako77 2020-04-26 13:39:12 -07:00 committed by GitHub
parent c58501972c
commit 71a19de031
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
// add new changes here
- Added a method to update the auth token.
## [2.11.2] - 2020-04-19
### Changed

View File

@ -101,6 +101,9 @@ class Spotify(object):
else: # Use the Requests API module as a "session".
self._session = requests.api
def set_auth(self, auth):
self._auth = auth
@property
def auth_manager(self):
return self._auth_manager