Class GreenButtonConfiguration
java.lang.Object
energy.eddie.regionconnector.us.green.button.config.GreenButtonConfiguration
@ConfigurationProperties("region-connector.us.green.button")
@ConditionalOnProperty(value="region-connector.us.green.button.enabled",
havingValue="true")
public class GreenButtonConfiguration
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbasePath()getClientIdOrThrow(String company) getClientSecretOrThrow(String company) voidthrowOnMissingToken(String company) tokens()
-
Constructor Details
-
GreenButtonConfiguration
-
-
Method Details
-
basePath
-
clientIds
-
clientSecrets
-
tokens
-
redirectUri
-
webhookSecret
-
getClientIdOrThrow
- Throws:
MissingClientIdException
-
getClientSecretOrThrow
- Throws:
MissingClientSecretException
-
throwOnMissingToken
- Throws:
MissingApiTokenException
-