ProviderApiClient
com.notificationhub.sdk.client.ProviderApiClient — accessed via client.providers().
Methods
configure
Map<String, String> configure(String channelType, String providerName, Map<String, String> config) throws NotificationHubException
Attaches provider credentials to a channel. channelType and providerName are upper-cased automatically.
update
Map<String, Object> update(String channelType, String providerName, Map<String, String> config) throws NotificationHubException
delete
void delete(String channelType) throws NotificationHubException
testConnection
Map<String, Object> testConnection(String channelType, Map<String, String> config) throws NotificationHubException
Validates a set of provider credentials without saving them.
list
List<Map<String, Object>> list() throws NotificationHubException
Lists all configured providers for the project.