refresh Token
suspend fun refreshToken(clientId: String, clientSecret: String, refreshToken: String): SpotifyApiResponse<TokenResponse>
Refreshes an access token for Authorization Code flow.
Return
Wrapped Spotify API response with status code and parsed Spotify payload.
Parameters
client Id
Spotify application Client ID.
client Secret
Spotify application Client Secret.
refresh Token
Refresh token used to issue a new access token.