refreshSpotifyClientTokenRestAction

fun refreshSpotifyClientTokenRestAction(clientId: String, clientSecret: String?, refreshToken: String?, usesPkceAuth: Boolean): SpotifyRestAction<Token>(source)

Refresh a Spotify client token

Parameters

clientId

The Spotify application client id.

clientSecret

The Spotify application client secret (not needed for PKCE).

refreshToken

The refresh token.

usesPkceAuth

Whether this token was created using PKCE auth or not.