inetsoft.spark.quickbooks.token.ExternalOAuthTokenStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spark-quickbooks-runtime Show documentation
Show all versions of spark-quickbooks-runtime Show documentation
The runtime implementation of the Spark QuickBooks connector. This library is isolated from
the rest of the connector because the QuickBooks Online libraries have dependencies that
conflict with Spark and need to be on an isolated classpath.
The newest version!
package inetsoft.spark.quickbooks.token;
/**
* This strategy assumes that OAuth is handled outside of the data source so we just use the given
* access token
*/
public class ExternalOAuthTokenStrategy implements TokenStrategy {
public ExternalOAuthTokenStrategy(String accessToken) {
this.accessToken = accessToken;
}
@Override
public String getAccessToken() {
return accessToken;
}
private final String accessToken;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy