mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 17:23:53 +00:00
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:
parent
c58501972c
commit
71a19de031
@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
// add new changes here
|
// add new changes here
|
||||||
|
|
||||||
|
- Added a method to update the auth token.
|
||||||
|
|
||||||
## [2.11.2] - 2020-04-19
|
## [2.11.2] - 2020-04-19
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|||||||
@ -101,6 +101,9 @@ class Spotify(object):
|
|||||||
else: # Use the Requests API module as a "session".
|
else: # Use the Requests API module as a "session".
|
||||||
self._session = requests.api
|
self._session = requests.api
|
||||||
|
|
||||||
|
def set_auth(self, auth):
|
||||||
|
self._auth = auth
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def auth_manager(self):
|
def auth_manager(self):
|
||||||
return self._auth_manager
|
return self._auth_manager
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user