You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repo contains the CometD .NET Core implementation for Salesforce Platform events.
6
-
8
+
7
9
These events can be subscribed to and listened to by your custom `Event Listener`. The sample application of this library can be found [here](https://github.com/kdcllc/Bet.BuildingBlocks.SalesforceEventBus).
- A Salesforce Platform Events implementation based [Even Bus idea of eShopOnContainers](https://github.com/dotnet-architecture/eShopOnContainers).
13
15
-[Reusable Building Blocks and sample application that listens to Salesforce push events](https://github.com/kdcllc/Bet.BuildingBlocks.SalesforceEventBus).
14
16
15
-
2. DotNet Cli tool `salesforce` Project
16
-
- This dotnet cli tool allows for retrieval of `Access Token` and `Refresh Token` to be used by any other application. Please refer to [How Are Apps Authenticated with the Web Server OAuth Authentication Flow](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_understanding_web_server_oauth_flow.htm)
17
-
18
-
## Installation
19
-
20
-
- To include this library inside of your project run nuget package installation
21
-
22
-
```cmd
23
-
PM> Install-Package CometD.NetCore2.Salesforce
24
-
```
25
-
26
-
Or
27
-
28
-
```cmd
29
-
dotnet add package CometD.NetCore.Salesforce
30
-
```
31
-
32
-
- To Install Salesforce Cli tool globally run the following command:
33
-
34
-
```cmd
35
-
dotnet tool install salesforce -g
36
-
37
-
```
38
-
39
-
To verify the installation run:
40
-
41
-
```cmd
42
-
dotnet tool list -g
43
-
```
44
-
45
-
## Usage of Salesforce dotnet cli tool
46
-
47
-
There are several ways to run this cli tool.
48
-
49
-
1. From any location with Consumer Key and Secret provided
- This dotnet cli tool allows for retrieval of `Access` or `Refresh Tokens` to be used by any other application.
19
+
Please refer to [How Are Apps Authenticated with the Web Server OAuth Authentication Flow](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_understanding_web_server_oauth_flow.htm)
@@ -120,13 +51,16 @@ This tool will open web browser and will require you to log in with your credent
120
51
121
52
Use workbench to test the Event [workbench](https://workbench.developerforce.com/login.php?startUrl=%2Finsert.php)
122
53
## AuthApp
54
+
123
55
[Use login instead of test](https://github.com/developerforce/Force.com-Toolkit-for-NET/wiki/Web-Server-OAuth-Flow-Sample#am-i-using-the-test-environment)
124
56
Simple application that provides with Web Server OAuth Authentication Flow to retrieve
125
57
`Access Token` and `Refresh Token` to be used within the application.
126
58
127
-
## Special thanks to the following projects and contributors:
0 commit comments