public static BoxDeveloperEditionAPIConnection getAppEnterpriseConnection ( String enterpriseId , String clientId , String clientSecret , JWTEncryptionPreferences encryptionPref , IAccessTokenCache accessTokenCache ) { BoxDeveloperEditionAPIConnection connection = new BoxDeveloperEditionAPIConnection ( enterpriseId , DeveloperEditionEntityType . ENTERPRISE , clientId , clientSecret , encryptionPref , accessTokenCache ) ; connection . tryRestoreUsingAccessTokenCache ( ) ; return connection ; }
Creates a new Box Developer Edition connection with enterprise token leveraging an access token cache .