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

com.github.scribejava.apis.TrelloApi Maven / Gradle / Ivy

There is a newer version: 8.3.3
Show newest version
package com.github.scribejava.apis;

import com.github.scribejava.core.builder.api.DefaultApi10a;

public class TrelloApi extends DefaultApi10a {

    private static final String AUTHORIZE_URL = "https://trello.com/1/OAuthAuthorizeToken";

    protected TrelloApi() {
    }

    private static class InstanceHolder {
        private static final TrelloApi INSTANCE = new TrelloApi();
    }

    public static TrelloApi instance() {
        return InstanceHolder.INSTANCE;
    }

    @Override
    public String getAccessTokenEndpoint() {
        return "https://trello.com/1/OAuthGetAccessToken";
    }

    @Override
    public String getRequestTokenEndpoint() {
        return "https://trello.com/1/OAuthGetRequestToken";
    }

    @Override
    public String getAuthorizationBaseUrl() {
        return AUTHORIZE_URL;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy