Package com.iizix.translate.microsoft
Class AzureAuthToken
- java.lang.Object
- com.iizix.translate.microsoft.AzureAuthToken
public class AzureAuthToken extends java.lang.Object
Client to call Cognitive Services Azure Authentication Token service in order to get an access token.- Author:
- Christopher Mindus
Constructor Summary
Constructors Constructor Description AzureAuthToken(java.lang.String subscriptionKey)
Constructs the Azure Authorization Token requestor.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAccessToken()
Gets the access token.