Interface IntegrationService
-
@ProviderType public interface IntegrationServiceService to communicate to Adobe I/O with regards to authentication.
Use the following command the generate the public/private keyfile:
openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout private.key -out certificate_pub.crt
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAccessToken()Get the access-token used as the Authorization header.StringgetApiKey()Get the api-key, can be used as the X-Api-Key headerintgetTimeoutinMilliSeconds()Timeout in milliseconds that is used in the various http-calls
-
-
-
Method Detail
-
getApiKey
String getApiKey()
Get the api-key, can be used as the X-Api-Key header- Returns:
- the configured api-key
-
getAccessToken
String getAccessToken()
Get the access-token used as the Authorization header. This is fetched once per hour via a scheduler.- Returns:
- the access token
-
getTimeoutinMilliSeconds
int getTimeoutinMilliSeconds()
Timeout in milliseconds that is used in the various http-calls- Returns:
- timeout in milliseconds
-
-