Class SinchClientConfig
java.lang.Object
es.kukenan.smartfi.microservice.communication.config.SinchClientConfig
Sinch client beans configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.sinch.sdk.domains.sms.SMSServicesinchSmsService(String projectId, String keyId, String keySecret) Client to connect with Sinch SMS API.
-
Constructor Details
-
SinchClientConfig
public SinchClientConfig()
-
-
Method Details
-
sinchSmsService
@Bean @RefreshScope public com.sinch.sdk.domains.sms.SMSService sinchSmsService(@Value("${sinch.client.sms.projectId}") String projectId, @Value("${sinch.client.sms.keyId}") String keyId, @Value("${sinch.client.sms.keySecret}") String keySecret) Client to connect with Sinch SMS API.- Parameters:
projectId- Sinch project identifierkeyId- Sinch project key identifierkeySecret- Key secret- Returns:
- The
SMSService
-