box / box/box-java-sdk

Make "expiration time" to be configurable in BoxDeveloperEditionAPIConnection

Aperta
#1,114 4 commenti 0 reazioni 6 assegnatari Rivendicata da @mwwoda Vedi su GitHub
enhancement
Lingua principale
Java
Stelle
170
Fork
189
Merge medio
20h 26m
PR unite (30g)
22

Descrizione

### 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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.