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

inetsoft.spark.quickbooks.token.ExternalOAuthTokenStrategy Maven / Gradle / Ivy

Go to download

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