diff --git a/src/main/java/com/box/sdk/BoxDeveloperEditionAPIConnection.java b/src/main/java/com/box/sdk/BoxDeveloperEditionAPIConnection.java index 485638067..630e9bb92 100644 --- a/src/main/java/com/box/sdk/BoxDeveloperEditionAPIConnection.java +++ b/src/main/java/com/box/sdk/BoxDeveloperEditionAPIConnection.java @@ -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();