Package com.e1c.langtool.microsoft
Class ITokenProvider.Token
java.lang.Object
com.e1c.langtool.microsoft.ITokenProvider.Token
- Enclosing interface:
- ITokenProvider
The Token recieved form Microsoft Cognitive service authentication endpoint with Time-to-live vale (TTL).
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Token
-
-
Method Details
-
getText
Gets the token text.- Returns:
- the token text
-
getTTL
public long getTTL()Gets the current TTL value of time when this token will be expired.- Returns:
- the Time-to-live vale (TTL)
-