Note: Pre-release packages are distributed via feedz.io.
This repo contains the CometD .NET Core implementation for Salesforce Platform events.
These events can be subscribed to and listened to by your custom Event Listener
. The sample application of this library can be found here.
The solution contains the following:
Access
or Refresh Tokens
to be used by any other application.
Please refer to How Are Apps Authenticated with the Web Server OAuth Authentication FlowIf you like or are using this project to learn or start your solution, please give it a star. Thanks!
dotnet add package CometD.NetCore.Salesforce
API (Enable OAuth Settings):
Retrieve Consumer Key
and Consumer Secret
to be used within the Test App
(note: use sandbox custom domain for the login to workbench in order to install this app within your production)
Use workbench to test the Event workbench
Use login instead of test
Simple application that provides with Web Server OAuth Authentication Flow to retrieve
Access Token
and Refresh Token
to be used within the application.
To enable Username/Password flow and grant type, simply omit the auth token and refresh token while providing the username, password and user api token.