Entra.EventHandlers.Abstractions 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Entra.EventHandlers.Abstractions --version 1.0.0
                    
NuGet\Install-Package Entra.EventHandlers.Abstractions -Version 1.0.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="Entra.EventHandlers.Abstractions" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Entra.EventHandlers.Abstractions" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Entra.EventHandlers.Abstractions" />
                    
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 Entra.EventHandlers.Abstractions --version 1.0.0
                    
#r "nuget: Entra.EventHandlers.Abstractions, 1.0.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 Entra.EventHandlers.Abstractions@1.0.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=Entra.EventHandlers.Abstractions&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Entra.EventHandlers.Abstractions&version=1.0.0
                    
Install as a Cake Tool

Entra.EventHandlers.Abstractions

License: MIT
Author: Jakub Szubarga (Szubarga.NET) This package is free for all use cases, including commercial use.

This package contains the public abstractions, event types, and protocol definitions for building Entra ID Authentication Event Handlers.

It is intentionally lightweight, dependency‑free, and framework‑agnostic. You can reference it freely in open‑source or commercial projects.

All public types include full XML documentation for a first‑class developer experience.


✨ What This Package Provides

This package defines the public contract for the Entra Event Handlers ecosystem:

  • Strongly‑typed event request models
  • Response models and action definitions
  • Event type constants
  • Protocol primitives
  • Interfaces for building custom handlers
  • Enums and metadata types

These types represent the JSON protocol used by Entra ID custom authentication flows.

The abstractions are stable, versioned, and safe to depend on in long‑term projects.


🧩 Why a Separate Abstractions Package?

The abstractions are MIT‑licensed to maximize adoption and interoperability.

They allow you to:

  • Build your own handlers
  • Integrate with Entra ID events
  • Test locally
  • Reference the protocol without pulling in implementation details

The full implementation lives in separate packages under the Business Source License (BSL).


These packages extend the abstractions with production‑ready functionality:

  • Entra.EventHandlers — full implementation (BSL)

    • Validation
    • Routing
    • Execution pipeline
    • Response builders
    • Logging & telemetry hooks
  • Entra.EventHandlers.AzureFunctions — Azure Function integration (BSL)

    • Automatic request/response handling
    • DI wiring
    • Minimal boilerplate for production deployments

These packages will be published to NuGet soon.


📄 License

This package is licensed under the MIT License.
See the LICENSE file for details.

The full implementation and Azure Function integration are available under the Business Source License (BSL) in the related packages.


📚 Documentation

Full documentation, examples, and production templates will be available in the main repository.

Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Entra.EventHandlers.Abstractions:

Package Downloads
Entra.EventHandlers

Core implementation library for Microsoft Entra ID Authentication Event Handlers. Includes request processing pipeline, validation, routing, serialization helpers, and extensibility points for building custom authentication flows.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.28 29 5/30/2026
1.0.25 29 5/30/2026
1.0.24 28 5/30/2026
1.0.22 29 5/30/2026
1.0.21 35 5/30/2026
1.0.20 47 5/29/2026
1.0.18 40 5/29/2026
1.0.17 37 5/29/2026
1.0.0 54 5/28/2026

Initial release of Entra Event Handlers abstractions.