Type in client credentials docs (#498)

This commit is contained in:
Alex 2020-08-24 10:29:13 +01:00 committed by GitHub
parent ba1072340c
commit 4457eb62ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
} }