Entra.EventHandlers.Abstractions
1.4.2
dotnet add package Entra.EventHandlers.Abstractions --version 1.4.2
NuGet\Install-Package Entra.EventHandlers.Abstractions -Version 1.4.2
<PackageReference Include="Entra.EventHandlers.Abstractions" Version="1.4.2" />
<PackageVersion Include="Entra.EventHandlers.Abstractions" Version="1.4.2" />
<PackageReference Include="Entra.EventHandlers.Abstractions" />
paket add Entra.EventHandlers.Abstractions --version 1.4.2
#r "nuget: Entra.EventHandlers.Abstractions, 1.4.2"
#:package Entra.EventHandlers.Abstractions@1.4.2
#addin nuget:?package=Entra.EventHandlers.Abstractions&version=1.4.2
#tool nuget:?package=Entra.EventHandlers.Abstractions&version=1.4.2
Entra.EventHandlers.Abstractions
Lightweight, dependency‑free public abstractions for building
Microsoft Entra External ID and Workforce Authentication Event Handlers.
This package is MIT‑licensed and safe to use in all scenarios, including commercial applications.
✨ Features
✔ Strongly‑Typed Protocol Models
Includes complete request/response models for:
- AttributeCollectionStart
- AttributeCollectionSubmit
- EmailOtpSend
- PasswordSubmit
- TokenIssuanceStart
- VerifiedIdClaimValidation
Each event includes:
- Request model
- Response model
- Action definitions
- Payload types
- Handler interface
✔ Handler Interfaces
Defines the core handler contracts used across the ecosystem:
public interface IAttributeCollectionStartHandler
: IEntraEventHandler<AttributeCollectionStartEvent, AttributeCollectionStartResponse> { }
All interfaces are fully XML‑documented for a first‑class developer experience.
✔ Framework‑Agnostic
The abstractions package contains no hosting logic and no dependencies.
Use it freely with:
- ASP.NET Core
- Azure Functions
- Custom hosts
- Unit tests
- Any DI container
📦 Related Packages
- Entra.EventHandlers — implementation layer with builders & base handlers (BSL)
- Entra.EventHandlers.Workforce — Workforce‑specific models & builders (BSL)
- Entra.EventHandlers.AspNetCore — ASP.NET Core hosting adapter (BSL)
- Entra.EventHandlers.AzureFunctions — Azure Functions hosting adapter (BSL)
🔒 License
This package is licensed under the MIT License.
See:
LICENSE— full MIT terms
The implementation and hosting adapters are available under the
Business Source License (BSL) in the related packages.
📘 Further Reading
For a deeper look into Microsoft Entra External ID Authentication Event Handlers, Workforce scenarios, and the design of this ecosystem, see:
➡️ Entra External ID — .NET Handlers Deep Dive
https://medium.com/@jakub.szubarga/entra-external-id-dotnet-handlers-a7447dc1e437
| Product | Versions 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. |
-
net10.0
- No dependencies.
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Entra.EventHandlers.Abstractions:
| Package | Downloads |
|---|---|
|
Entra.EventHandlers
Core implementation library for Microsoft Entra External ID Authentication Event Handlers. Provides fluent response builders, production-ready handler base classes, protocol validation, correlation-scoped logging, an execution pipeline, and extensibility points for building custom External ID authentication flows. Extends the MIT-licensed Entra.EventHandlers.Abstractions package and is designed to be used together with the Entra.EventHandlers.AzureFunctions and Entra.EventHandlers.AspNetCore hosting adapters. |
|
|
Entra.EventHandlers.AspNetCore
ASP.NET Core hosting adapter for Microsoft Entra External ID and Workforce Authentication Event Handlers. Provides minimal‑boilerplate endpoint mapping, request/response adapters, a unified execution pipeline, DI integration, structured logging, and production‑ready hosting for custom authentication extensions. Extends the MIT‑licensed Entra.EventHandlers.Abstractions package and is designed to be used together with the Entra.EventHandlers and Entra.EventHandlers.Workforce implementation packages. |
|
|
Entra.EventHandlers.AzureFunctions
Azure Functions hosting adapter for Microsoft Entra External ID and Workforce Authentication Event Handlers. Provides minimal‑boilerplate function routing, request/response adapters, a unified execution pipeline, DI integration, structured logging, and production‑ready hosting for custom authentication extensions. Extends the MIT‑licensed Entra.EventHandlers.Abstractions package and is designed to be used together with the Entra.EventHandlers and Entra.EventHandlers.Workforce implementation packages. |
|
|
Entra.EventHandlers.Workforce
Workforce-specific implementation library for Microsoft Entra External ID Authentication Event Handlers. Provides strongly-typed request/response contracts, fluent response builders, and production-ready handler base classes for Workforce authentication flows. Extends the MIT-licensed Entra.EventHandlers.Abstractions package and is designed to be used together with the Entra.EventHandlers.AzureFunctions and Entra.EventHandlers.AspNetCore hosting adapters. Serves as a parallel extension to the core Entra.EventHandlers package. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.4.2 | 84 | 7/16/2026 |
| 1.4.1 | 263 | 6/26/2026 |
| 1.4.0 | 155 | 6/25/2026 |
| 1.3.3 | 152 | 6/18/2026 |
| 1.3.2 | 155 | 6/10/2026 |
| 1.3.1 | 115 | 6/10/2026 |
| 1.3.0 | 101 | 6/10/2026 |
| 1.2.10 | 134 | 6/8/2026 |
| 1.2.9 | 314 | 6/7/2026 |
| 1.2.8 | 145 | 6/6/2026 |
| 1.2.7 | 149 | 6/6/2026 |
| 1.2.4 | 125 | 6/5/2026 |
| 1.2.3 | 179 | 6/3/2026 |
| 1.2.0 | 160 | 6/3/2026 |
| 1.1.1 | 160 | 6/2/2026 |
| 1.1.0 | 162 | 6/1/2026 |
| 1.0.31 | 153 | 6/1/2026 |
| 1.0.30 | 150 | 6/1/2026 |
| 1.0.28 | 166 | 5/30/2026 |
| 1.0.25 | 146 | 5/30/2026 |
Includes complete request/response models, action definitions, and handler interfaces for all
Microsoft Entra External ID and Workforce Authentication Event Handlers, including
VerifiedIdClaimValidation. Fully MIT-licensed and dependency-free.