Skip to content

Commit

Permalink
Merge pull request #71 from jmvogtle/master
Browse files Browse the repository at this point in the history
Add missing appFirewall settings to createRefreshParameters
  • Loading branch information
SidneyAllen authored Feb 17, 2018
2 parents 3ad72cb + 5718d3d commit 31af134
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.xero</groupId>
<artifactId>xero-java-sdk</artifactId>
<packaging>jar</packaging>
<version>0.6.5</version>
<version>0.6.5+jmv</version>
<name>Xero-Java SDK</name>
<url>http://maven.apache.org</url>
<dependencies>
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/com/xero/api/OAuthAccessToken.java
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ private OAuthParameters createRefreshParameters() {

OAuthParameters result = new OAuthParameters();
result.consumerKey = config.getConsumerKey();
result.usingAppFirewall = config.isUsingAppFirewall();
result.appFirewallHostname = config.getAppFirewallHostname();
result.appFirewallUrlPrefix = config.getAppFirewallUrlPrefix();
result.token = this.token;
result.sessionHandle = this.sessionHandle;
result.signer = signer;
Expand Down

0 comments on commit 31af134

Please sign in to comment.