Skip to content

Commit

Permalink
feat: allow to modify the underlying okHttpClient from the BoxDevelop…
Browse files Browse the repository at this point in the history
…erEditionAPIConnection when using factory method
  • Loading branch information
davigotxi committed Nov 13, 2024
1 parent 6ea70f7 commit a84c1cd
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,10 @@ private String getAccessTokenCacheKey() {
this.entityType.toString(), this.entityID);
}

private void tryRestoreUsingAccessTokenCache() {
/**
* Tries to restore the connection using the access token cache.
*/
public void tryRestoreUsingAccessTokenCache() {
if (this.accessTokenCache == null) {
//no cache specified so force authentication
this.authenticate();
Expand Down

0 comments on commit a84c1cd

Please sign in to comment.