From c6de994f91a4dccb7344e3ce080d941afa8468a1 Mon Sep 17 00:00:00 2001 From: Jonas Dellinger Date: Mon, 18 Mar 2019 22:06:33 +0100 Subject: [PATCH] Update auth.md --- SpotifyAPI.Docs/docs/SpotifyWebAPI/auth.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SpotifyAPI.Docs/docs/SpotifyWebAPI/auth.md b/SpotifyAPI.Docs/docs/SpotifyWebAPI/auth.md index 5d3e3037..6195a39e 100644 --- a/SpotifyAPI.Docs/docs/SpotifyWebAPI/auth.md +++ b/SpotifyAPI.Docs/docs/SpotifyWebAPI/auth.md @@ -86,7 +86,7 @@ SpotifyWebAPI spotify; // 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. webApiFactory = new TokenSwapWebAPIFactory("INSERT LINK TO YOUR index.php HERE") { - 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, + Scope = Scope.UserReadPrivate | Scope.UserReadEmail | Scope.PlaylistReadPrivate, AutoRefresh = true }; // 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 TokenSwapAuth auth = new TokenSwapAuth( exchangeServerUri: "INSERT LINK TO YOUR index.php HERE", serverUri: "http://localhost:4002", - 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 + scope: Scope.UserReadPrivate | Scope.UserReadEmail | Scope.PlaylistReadPrivate ); auth.AuthReceived += async (sender, response) => {