mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-23 22:56:25 +00:00
Type in client credentials docs (#498)
This commit is contained in:
parent
ba1072340c
commit
4457eb62ae
@ -33,7 +33,7 @@ public static async Task Main()
|
|||||||
{
|
{
|
||||||
var config = SpotifyClientConfig
|
var config = SpotifyClientConfig
|
||||||
.CreateDefault()
|
.CreateDefault()
|
||||||
.WithAuthenticator(new CredentialsAuthenticator("CLIENT_ID", "CLIENT_SECRET"));
|
.WithAuthenticator(new ClientCredentialsAuthenticator("CLIENT_ID", "CLIENT_SECRET"));
|
||||||
|
|
||||||
var spotify = new SpotifyClient(config);
|
var spotify = new SpotifyClient(config);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user