Skip to content

Commit

Permalink
feat: add token property to SpotifyPlayer
Browse files Browse the repository at this point in the history
  • Loading branch information
Symbitic committed Jun 10, 2021
1 parent 5749953 commit e5c7093
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/spotify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@ export class SpotifyPlayer {
'user-modify-playback-state'
];

/**
* The Spotify authorization token.
*/
get token() {
return this._token;
}

/**
* Indicates if a media is playing.
*/
Expand Down

0 comments on commit e5c7093

Please sign in to comment.