microsoft-translator-java-api icon indicating copy to clipboard operation
microsoft-translator-java-api copied to clipboard

Restart Token Expiration

Open astojanov opened this issue 10 years ago • 0 comments

Since Translate and MicrosoftTranslatorAPI are static classes, it would be convenient if there is a method that restarts the token expiration. This becomes useful when the Bing translation is used with multiple accounts, because I don't have to wait when trying to switch to different account. Of course, it would be better if MicrosoftTranslatorAPI does not have static methods at all, so it could be used with two or more accounts simultaneously.

astojanov avatar Jul 29 '14 01:07 astojanov