[PR #110] [MERGED] Add method to retrieve the scope for the current accessToken #257

Closed
opened 2026-02-27 19:26:50 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jwilsson/spotify-web-api-php/pull/110
Author: @PouleR
Created: 12/4/2017
Status: Merged
Merged: 12/6/2017
Merged by: @jwilsson

Base: masterHead: master


📝 Commits (2)

  • 6944405 Add method to retrieve the scope for the current accessToken
  • f9d1468 Return scope as an array

📊 Changes

4 files changed (+29 additions, -2 deletions)

View changed files

📝 src/Session.php (+23 -0)
📝 tests/SessionTest.php (+2 -0)
📝 tests/fixtures/access-token.json (+2 -1)
📝 tests/fixtures/refresh-token.json (+2 -1)

📄 Description

Spotify returns the scope for the current access token, added a method to get this scope. This could be useful to check the scope for a given token.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jwilsson/spotify-web-api-php/pull/110 **Author:** [@PouleR](https://github.com/PouleR) **Created:** 12/4/2017 **Status:** ✅ Merged **Merged:** 12/6/2017 **Merged by:** [@jwilsson](https://github.com/jwilsson) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`6944405`](https://github.com/jwilsson/spotify-web-api-php/commit/69444055f3923f441ed9f8f4b70969700357d47f) Add method to retrieve the scope for the current accessToken - [`f9d1468`](https://github.com/jwilsson/spotify-web-api-php/commit/f9d146859f48f0e2ff1b3ef3ecbadecbd733ef79) Return scope as an array ### 📊 Changes **4 files changed** (+29 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/Session.php` (+23 -0) 📝 `tests/SessionTest.php` (+2 -0) 📝 `tests/fixtures/access-token.json` (+2 -1) 📝 `tests/fixtures/refresh-token.json` (+2 -1) </details> ### 📄 Description Spotify returns the scope for the current access token, added a method to get this scope. This could be useful to check the scope for a given token. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 19:26:50 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-web-api-php#257
No description provided.