com.github.scribejava.apis.XeroApi20 Maven / Gradle / Ivy
package com.github.scribejava.apis;
import com.github.scribejava.core.builder.api.DefaultApi20;
/**
* Xero.com Api
*/
public class XeroApi20 extends DefaultApi20 {
protected XeroApi20() {
}
private static class InstanceHolder {
private static final XeroApi20 INSTANCE = new XeroApi20();
}
public static XeroApi20 instance() {
return InstanceHolder.INSTANCE;
}
@Override
public String getAccessTokenEndpoint() {
return "https://identity.xero.com/connect/token";
}
@Override
protected String getAuthorizationBaseUrl() {
return "https://login.xero.com/identity/connect/authorize";
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy