public class AuthleteEnvConfiguration extends Object implements AuthleteConfiguration
AuthleteConfiguration based on
environment variables.
This class refers to the following environment variables.
- AUTHLETE_BASE_URL
The base URL.
- AUTHLETE_SERVICEOWNER_APIKEY
The API key of the service owner.
- AUTHLETE_SERVICEOWNER_APISECRET
The API secret of the service owner.
- AUTHLETE_SERVICE_APIKEY
The API key of the service.
- AUTHLETE_SERVICE_APISECRET
The API secret of the service.
| Constructor and Description |
|---|
AuthleteEnvConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseUrl()
Get the base URL.
|
String |
getServiceApiKey()
Get the service API key.
|
String |
getServiceApiSecret()
Get the service API secret.
|
String |
getServiceOwnerApiKey()
Get the service owner API key.
|
String |
getServiceOwnerApiSecret()
Get the service owner API secret.
|
public String getBaseUrl()
AuthleteConfigurationgetBaseUrl in interface AuthleteConfigurationpublic String getServiceOwnerApiKey()
AuthleteConfigurationgetServiceOwnerApiKey in interface AuthleteConfigurationpublic String getServiceOwnerApiSecret()
AuthleteConfigurationgetServiceOwnerApiSecret in interface AuthleteConfigurationpublic String getServiceApiKey()
AuthleteConfigurationgetServiceApiKey in interface AuthleteConfigurationpublic String getServiceApiSecret()
AuthleteConfigurationgetServiceApiSecret in interface AuthleteConfigurationCopyright © 2017. All rights reserved.