Skip to content

Commit a84c1cd

Browse files
committed
feat: allow to modify the underlying okHttpClient from the BoxDeveloperEditionAPIConnection when using factory method
1 parent 6ea70f7 commit a84c1cd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/java/com/box/sdk/BoxDeveloperEditionAPIConnection.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,10 @@ private String getAccessTokenCacheKey() {
446446
this.entityType.toString(), this.entityID);
447447
}
448448

449-
private void tryRestoreUsingAccessTokenCache() {
449+
/**
450+
* Tries to restore the connection using the access token cache.
451+
*/
452+
public void tryRestoreUsingAccessTokenCache() {
450453
if (this.accessTokenCache == null) {
451454
//no cache specified so force authentication
452455
this.authenticate();

0 commit comments

Comments
 (0)