com.lajospolya.spotifyapiwrapper.body.RefreshToken Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spotify-api-wrapper Show documentation
Show all versions of spotify-api-wrapper Show documentation
This project wraps the Spotify public API in order to allow users to intuitively use it
package com.lajospolya.spotifyapiwrapper.body;
public class RefreshToken implements UrlEncoded
{
private String refresh_token;
public RefreshToken(String refresh_token)
{
this.refresh_token = refresh_token;
}
@Override
public String toUrlEncodedString()
{
return "grant_type=refresh_token&refresh_token=" + refresh_token;
}
}