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 (#1272)
  • Loading branch information
davigotxi authored Nov 20, 2024
1 parent 5eb4c93 commit c9f77de
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 c9f77de

Please sign in to comment.