box / box/box-java-sdk

Make "expiration time" to be configurable in BoxDeveloperEditionAPIConnection

未关闭
#1,114 4 条评论 0 个 reaction 已指派 6 人 已被 @mwwoda 认领 在 GitHub 查看
enhancement
主要语言
Java
星标
170
派生
189
平均合并
20 小时 26 分钟
30 天内合并 PR
22

描述

### Is your feature request related to a problem? Please describe.

For people with a bad internet connection, 30 seconds might be not enough to acquire a token.
As a workaround, we can increase max attempts but maybe increasing the count of an expiration time for claims would be more efficient.

### Describe the solution you'd like

Frankly, I don't like BoxGlobalSettings with statics variables, but it might be the solution. (with the additional setter in BoxDeveloperEditionAPIConnection) the same thing as we have for maxRetryAttemps.

### Describe alternatives you've considered

Increase the max retry attempts and cross your fingers.

### Additional context

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。