public class TokenService extends Object
| Constructor and Description |
|---|
TokenService() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthToken(String clientId,
String clientSecret)
To obtain an access token, make an HTTPS request to Amazon
and include your client_id and client_secret values.
|
public String getAuthToken(String clientId, String clientSecret) throws Exception
clientId - unique ID supplied by ADM ServicesclientSecret - secret value supplied by ADM servicesException - if retrieving the Auth token failsCopyright © 2015 JBoss by Red Hat. All Rights Reserved.