Skip to content

Commit f4c6237

Browse files
JimmyAppeltJohnnyCrazy
authored andcommitted
Update auth.md (JohnnyCrazy#151)
Updated scope enum
1 parent 512d3d7 commit f4c6237

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • SpotifyAPI.Docs/docs/SpotifyWebAPI

‎SpotifyAPI.Docs/docs/SpotifyWebAPI/auth.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ static void Main(string[] args)
122122
//Set this to localhost if you want to use the built-in HTTP Server
123123
RedirectUri = "http://localhost",
124124
//How many permissions we need?
125-
Scope = Scope.USER_READ_PRIVATE,
125+
Scope = Scope.UserReadPrivate,
126126
};
127127
//This will be called, if the user cancled/accept the auth-request
128128
auth.OnResponseReceivedEvent += auth_OnResponseReceivedEvent;
@@ -176,7 +176,7 @@ static void Main(string[] args)
176176
//Your client secret UNSECURE!!
177177
ClientSecret = "XXXXXXXXXXXX",
178178
//How many permissions we need?
179-
Scope = Scope.USER_READ_PRIVATE,
179+
Scope = Scope.UserReadPrivate,
180180
};
181181
//With this token object, we now can make calls
182182
Token token = auth.DoAuth();

0 commit comments

Comments
 (0)