eConnect.EventsBridgeSdk 1.3.0

dotnet add package eConnect.EventsBridgeSdk --version 1.3.0
                    
NuGet\Install-Package eConnect.EventsBridgeSdk -Version 1.3.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="eConnect.EventsBridgeSdk" Version="1.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="eConnect.EventsBridgeSdk" Version="1.3.0" />
                    
Directory.Packages.props
<PackageReference Include="eConnect.EventsBridgeSdk" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add eConnect.EventsBridgeSdk --version 1.3.0
                    
#r "nuget: eConnect.EventsBridgeSdk, 1.3.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package eConnect.EventsBridgeSdk@1.3.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=eConnect.EventsBridgeSdk&version=1.3.0
                    
Install as a Cake Addin
#tool nuget:?package=eConnect.EventsBridgeSdk&version=1.3.0
                    
Install as a Cake Tool

eConnect.EventsBridgeSdk

Overview

eConnect.EventsBridgeSdk is a robust SDK designed to seamlessly integrate with the eConnect system, enabling efficient management of face and license plate detections. It provides real-time callbacks when faces or plates are detected, ensuring your applications can respond promptly to these events.

Features

  • Face Detection Management: Enroll, monitor, and manage face detections within the eConnect system.
  • License Plate Detection Management: Handle license plate detections with ease.
  • Automatic Token Renewal: The SDK manages authentication tokens, automatically renewing them as needed to maintain secure connections.
  • Asynchronous Operations: Leverage async methods for non-blocking operations and improved performance.
  • Comprehensive Logging: Integrates with Microsoft.Extensions.Logging for detailed logging and diagnostics.

Installation

You can install the eConnect.EventsBridgeSdk package via the .NET CLI or the Package Manager Console.

Using .NET CLI

dotnet add package eConnect.EventsBridgeSdk --version 1.0.0

or

Install-Package eConnect.EventsBridgeSdk -Version 1.0.0-beta20241216191556

Supported Frameworks

  • .NET Standard 2.0
  • .NET Standard 2.1
  • .NET 8.0

Usage

Below is a basic example of how to initialize and use the eConnect.EventsBridgeSdk:

using eConnect.EventsBridge.Sdk;
using Microsoft.Extensions.Logging;

// Initialize the SDK
var sdk = await eConnectEventsBridgeSdk.GetSdk(
    loggerFactory, 
    ServerAddress, 
    httpClient, 
    Username, 
    Password
);

// Check if already enrolled, and remove first if necessary
var enrolled = await sdk.FaceMonitorStatusCheckAsync(externalId);

// Additional SDK operations...

Step-by-Step Guide

  1. Initialize the SDK:

    • Use the GetSdk method to create an instance of the SDK.
    • Provide the necessary parameters such as loggerFactory, ServerAddress, httpClient, Username, and Password.
  2. Check Enrollment Status:

    • Use FaceMonitorStatusCheckAsync to verify if a face is already enrolled.
    • Handle the response accordingly, such as removing existing enrollments before adding new ones.
  3. Manage Detections:

    • Utilize other SDK methods to manage face and license plate detections as per your application requirements.

Developer Documentation

Comprehensive developer documentation is available to help you get started and make the most out of the eConnect.EventsBridgeSdk.

License

Released under the MIT License — free to use, including commercially, with no fee.

This licence covers this client SDK only. The eConnect Events Bridge server and the rest of the eConnect platform are proprietary, and nothing here grants access to an eConnect service — that is governed by your eConnect credentials and agreement.

Change History

  • 1.3.0 - 2026.08.10

    • The SDK is now limited to the partner-facing API. It exposes local sign-in and token renewal, face monitoring, licence plate monitoring, and WebHook management — and nothing else.
    • Removed operations that were never intended for SDK consumers and are administrator-only on the server: tunnel-client controls, user administration, identity-server and classic-server configuration, FR rule tuning, and the browser and mobile sign-in flows belonging to the authentication platform. Calling any of them required an Admin role, so an SDK consumer could not have used them successfully.
    • The 12 data types belonging to those removed operations are no longer generated either (TunnelClientItem, UserInfoItem, IdentityServerItem, ClassicServerItem and similar).
    • LoginGETAsync has been removed rather than deprecated. It forwarded to the browser sign-in redirect, which is no longer part of the SDK. LoginPOSTAsync is unaffected and still forwards to AuthenticateLocalAsync.
    • The allow list lives in the client generator, so future endpoints are excluded by default — new endpoints under an existing partner route are picked up automatically, anything else has to be added deliberately.
    • Payload types are unchanged: WebHookFaceRecPayload, WebHookLprPayload, WebHookInfoItem and the full detection event model are all still generated, so deserialising the callbacks Events Bridge posts to you works exactly as before.
  • 1.2.1 - 2026.08.10

    • Package now declares its licence (MIT). No code changes; 1.2.0 and earlier shipped with no licence metadata.
  • 1.2.0 - 2026.08.10

    • Added WebHookGetAsync(hookId) — fetch a single WebHook by its id. Returns the hook to its owner (or to any Admin); any other id returns 404, including ids that belong to another account, so the endpoint cannot be used to probe for other users' WebHooks.
    • Renamed LoginPOSTAsync to AuthenticateLocalAsync, and LoginGETAsync to LoginAsync. Same endpoints, same payloads — only the method names changed, following a server-side rename needed for OIDC login routing. The old names still work: both remain available as [Obsolete] forwarders, so existing code keeps compiling and simply gets a deprecation warning naming the replacement. The forwarders will be removed in a future major version.
    • Added LocalSignOutAsync for clearing the local session cookie.
    • Added TestWebHookAsync(hookId) — posts a synthetic detection to a WebHook and reports what the receiver answered.
    • Added a net10.0 target and upgraded Microsoft.Extensions.Logging.Abstractions and System.IdentityModel.Tokens.Jwt. Targets remain netstandard2.0, netstandard2.1, net8.0 and net10.0.

    Upgrading from 1.0.5? Everything above is included. Version 1.1.0 was never released as a stable package — only 1.1.0-beta* prereleases — so 1.2.0 is the next stable release after 1.0.5.

  • 1.0.5 - 2025.02.12

    • Renamed PersonDetectionEventFieldInfo to PersonDetectionEventFieldInfoItem
    • Added Notes to type PersonDetectionEventPersonInfoItem
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.0 53 8/10/2026
1.2.1 69 8/10/2026
1.2.0 81 8/10/2026
1.1.0-beta20260504232835 95 5/4/2026
1.1.0-beta20260310043051 116 3/10/2026
1.0.5 295 2/12/2025
1.0.5-beta20250813161951 233 8/13/2025
1.0.4 199 12/16/2024
1.0.3 188 12/16/2024
1.0.2 208 12/16/2024
1.0.1 173 12/16/2024
1.0.0-beta20241216195720 181 12/16/2024
1.0.0-beta20241216194953 196 12/16/2024