All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.lajospolya.spotifyapiwrapper.body.AuthorizationCode Maven / Gradle / Ivy

Go to download

This project wraps the Spotify public API in order to allow users to intuitively use it

There is a newer version: 3.0.RELEASE
Show newest version
package com.lajospolya.spotifyapiwrapper.body;

public class AuthorizationCode implements UrlEncoded
{
    private String code;
    private String redirectUri;

    public AuthorizationCode(String code, String redirectUri)
    {
        this.code = code;
        this.redirectUri = redirectUri;
    }

    @Override
    public String toUrlEncodedString()
    {
        return "grant_type=authorization_code&code=" + code + "&redirect_uri=" + redirectUri;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy