
com.podio.oauth.OAuthCodeCredentials 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
The newest version!
package com.podio.oauth;
import javax.ws.rs.core.MultivaluedMap;
public class OAuthCodeCredentials implements OAuthUserCredentials {
private final String code;
private final String redirectUri;
public OAuthCodeCredentials(String code, String redirectUri) {
super();
this.code = code;
this.redirectUri = redirectUri;
}
public String getCode() {
return code;
}
@Override
public String getType() {
return "authorization_code";
}
public void addParameters(MultivaluedMap map) {
map.add("code", code);
map.add("redirect_uri", redirectUri);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy