public interface ISubscriptionsService
Modifier and Type | Method and Description |
---|---|
String[] |
getEventNames()
Retrieves list of event names.
|
String[] |
getList()
Retrieves list of subscriptions.
|
String |
subscribe(String endpoint,
boolean isRestEndpoint,
String path,
String eventName)
Creates a new subscription.
|
void |
unsubscribe(String id)
Unsubscribes a user from the system.
|
String subscribe(String endpoint, boolean isRestEndpoint, String path, String eventName)
endpoint
- The endpoint to subscribe to.isRestEndpoint
- Whether the endpoint is a REST endpoint.path
- The resource path.eventName
- The event name.void unsubscribe(String id)
id
- the subscription identifierString[] getEventNames()
String[] getList()
Copyright © 2023 WSO2. All rights reserved.