
com.podio.oauth.OAuthAppCredentials 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 OAuthAppCredentials implements OAuthUserCredentials {
private final int appId;
private final String appToken;
public OAuthAppCredentials(int appId, String appToken) {
super();
this.appId = appId;
this.appToken = appToken;
}
public String getType() {
return "app";
}
public void addParameters(MultivaluedMap map) {
map.add("app_id", Integer.toString(appId));
map.add("app_token", appToken);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy