
com.podio.oauth.OAuthRefreshTokenCredentials Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
The official Java wrapper for the Podio API
package com.podio.oauth;
import javax.ws.rs.core.MultivaluedMap;
public class OAuthRefreshTokenCredentials implements OAuthUserCredentials {
private final String refreshToken;
public OAuthRefreshTokenCredentials(String refreshToken) {
super();
this.refreshToken = refreshToken;
}
public String getType() {
return "refresh_token";
}
public void addParameters(MultivaluedMap map) {
map.add("refresh_token", refreshToken);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy