mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-23 14:46:26 +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
|
||||
.CreateDefault()
|
||||
.WithAuthenticator(new CredentialsAuthenticator("CLIENT_ID", "CLIENT_SECRET"));
|
||||
.WithAuthenticator(new ClientCredentialsAuthenticator("CLIENT_ID", "CLIENT_SECRET"));
|
||||
|
||||
var spotify = new SpotifyClient(config);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user