Skip to content

Commit c6de994

Browse files
authored
Update auth.md
1 parent 2c093a7 commit c6de994

File tree

1 file changed

+2
-2
lines changed
  • SpotifyAPI.Docs/docs/SpotifyWebAPI

1 file changed

+2
-2
lines changed

SpotifyAPI.Docs/docs/SpotifyWebAPI/auth.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ SpotifyWebAPI spotify;
8686
// You should store a reference to WebAPIFactory if you are using AutoRefresh or want to manually refresh it later on. New WebAPIFactory objects cannot refresh SpotifyWebAPI object that they did not give to you.
8787
webApiFactory = new TokenSwapWebAPIFactory("INSERT LINK TO YOUR index.php HERE")
8888
{
89-
Scope = Scope.UserReadPrivate | Scope.UserReadEmail | Scope.PlaylistReadPrivate | Scope.UserLibraryRead | Scope.UserReadPrivate | Scope.UserFollowRead | Scope.UserReadBirthdate | Scope.UserTopRead | Scope.PlaylistReadCollaborative | Scope.UserReadRecentlyPlayed | Scope.UserReadPlaybackState | Scope.UserModifyPlaybackState | Scope.PlaylistModifyPublic,
89+
Scope = Scope.UserReadPrivate | Scope.UserReadEmail | Scope.PlaylistReadPrivate,
9090
AutoRefresh = true
9191
};
9292
// You may want to react to being able to use the Spotify service.
@@ -116,7 +116,7 @@ recommended if you are having issues with TokenSwapWebAPIFactory or need access
116116
TokenSwapAuth auth = new TokenSwapAuth(
117117
exchangeServerUri: "INSERT LINK TO YOUR index.php HERE",
118118
serverUri: "http://localhost:4002",
119-
scope: Scope.UserReadPrivate | Scope.UserReadEmail | Scope.PlaylistReadPrivate | Scope.UserLibraryRead | Scope.UserReadPrivate | Scope.UserFollowRead | Scope.UserReadBirthdate | Scope.UserTopRead | Scope.PlaylistReadCollaborative | Scope.UserReadRecentlyPlayed | Scope.UserReadPlaybackState | Scope.UserModifyPlaybackState | Scope.PlaylistModifyPublic
119+
scope: Scope.UserReadPrivate | Scope.UserReadEmail | Scope.PlaylistReadPrivate
120120
);
121121
auth.AuthReceived += async (sender, response) =>
122122
{

0 commit comments

Comments
 (0)