org.scribe.builder.api.TrelloApi Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aem-sdk-api Show documentation
Show all versions of aem-sdk-api Show documentation
The Adobe Experience Manager SDK
package org.scribe.builder.api;
import org.scribe.model.*;
public class TrelloApi extends DefaultApi10a
{
private static final String AUTHORIZE_URL = "https://trello.com/1/OAuthAuthorizeToken?oauth_token=%s";
@Override
public String getAccessTokenEndpoint()
{
return "https://trello.com/1/OAuthGetAccessToken";
}
@Override
public String getRequestTokenEndpoint()
{
return "https://trello.com/1/OAuthGetRequestToken";
}
@Override
public String getAuthorizationUrl(Token requestToken)
{
return String.format(AUTHORIZE_URL, requestToken.getToken());
}
}