refresh Spotify Client Token Rest Action
fun refreshSpotifyClientTokenRestAction(clientId: String, clientSecret: String?, refreshToken: String?, usesPkceAuth: Boolean): SpotifyRestAction<Token>(source)
Refresh a Spotify client token
Parameters
client Id
The Spotify application client id.
client Secret
The Spotify application client secret (not needed for PKCE).
refresh Token
The refresh token.
uses Pkce Auth
Whether this token was created using PKCE auth or not.