Refresh Token
~ Correct example
Closes
@@ -44,9 +44,8 @@ public class AuthorizationCodeRefreshExample {
final AuthorizationCodeCredentials authorizationCodeCredentials = authorizationCodeCredentialsFuture.get();
- // Set access and refresh token for further "spotifyApi" object usage
+ // Set access token for further "spotifyApi" object usage
spotifyApi.setAccessToken(authorizationCodeCredentials.getAccessToken());
- spotifyApi.setRefreshToken(authorizationCodeCredentials.getRefreshToken());
System.out.println("Expires in: " + authorizationCodeCredentials.getExpiresIn());
} catch (InterruptedException | ExecutionException e) {
