mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 23:16:28 +00:00
parent
512d3d76ad
commit
f4c62377b0
@ -122,7 +122,7 @@ static void Main(string[] args)
|
|||||||
//Set this to localhost if you want to use the built-in HTTP Server
|
//Set this to localhost if you want to use the built-in HTTP Server
|
||||||
RedirectUri = "http://localhost",
|
RedirectUri = "http://localhost",
|
||||||
//How many permissions we need?
|
//How many permissions we need?
|
||||||
Scope = Scope.USER_READ_PRIVATE,
|
Scope = Scope.UserReadPrivate,
|
||||||
};
|
};
|
||||||
//This will be called, if the user cancled/accept the auth-request
|
//This will be called, if the user cancled/accept the auth-request
|
||||||
auth.OnResponseReceivedEvent += auth_OnResponseReceivedEvent;
|
auth.OnResponseReceivedEvent += auth_OnResponseReceivedEvent;
|
||||||
@ -176,7 +176,7 @@ static void Main(string[] args)
|
|||||||
//Your client secret UNSECURE!!
|
//Your client secret UNSECURE!!
|
||||||
ClientSecret = "XXXXXXXXXXXX",
|
ClientSecret = "XXXXXXXXXXXX",
|
||||||
//How many permissions we need?
|
//How many permissions we need?
|
||||||
Scope = Scope.USER_READ_PRIVATE,
|
Scope = Scope.UserReadPrivate,
|
||||||
};
|
};
|
||||||
//With this token object, we now can make calls
|
//With this token object, we now can make calls
|
||||||
Token token = auth.DoAuth();
|
Token token = auth.DoAuth();
|
||||||
|
Loading…
Reference in New Issue
Block a user