Entra.EventHandlers.Abstractions
1.7.0
dotnet add package Entra.EventHandlers.Abstractions --version 1.7.0
NuGet\Install-Package Entra.EventHandlers.Abstractions -Version 1.7.0
<PackageReference Include="Entra.EventHandlers.Abstractions" Version="1.7.0" />
<PackageVersion Include="Entra.EventHandlers.Abstractions" Version="1.7.0" />
<PackageReference Include="Entra.EventHandlers.Abstractions" />
paket add Entra.EventHandlers.Abstractions --version 1.7.0
#r "nuget: Entra.EventHandlers.Abstractions, 1.7.0"
#:package Entra.EventHandlers.Abstractions@1.7.0
#addin nuget:?package=Entra.EventHandlers.Abstractions&version=1.7.0
#tool nuget:?package=Entra.EventHandlers.Abstractions&version=1.7.0
Entra.EventHandlers.Abstractions
MIT-licensed public contracts for building Microsoft Entra External ID and Microsoft Entra Workforce authentication event handlers in .NET.
This package provides the strongly typed protocol models, action definitions, handler interfaces, and shared primitives that form the foundation of the Entra.EventHandlers ecosystem.
Installation
dotnet add package Entra.EventHandlers.Abstractions
Features
- Strongly typed event models
- Strongly typed response models
- Action definitions
- Handler interfaces
- Protocol constants
- OData payload models
- Shared protocol primitives
- Dependency-free design
- Full XML documentation
Supported Events
External ID
- AttributeCollectionStart
- AttributeCollectionSubmit
- EmailOtpSend
- PasswordSubmit
- TokenIssuanceStart
Workforce
- VerifiedIdClaimValidation
Each event includes:
- Event models
- Response models
- Action definitions
- Payload types
- Handler interfaces
Example
public interface IAttributeCollectionStartHandler
: IEntraEventHandler<
AttributeCollectionStartEvent,
AttributeCollectionStartResponse>
{
}
Why This Package Exists
The Entra.EventHandlers ecosystem is divided into contracts and implementations.
This package contains the stable public protocol contracts used by applications, libraries, hosting adapters, and testing frameworks without requiring any implementation dependencies.
Benefits include:
- Stable API surface
- Framework-independent contracts
- Easier testing
- Reusable integrations
- Long-term compatibility
- Clear separation of concerns
Not Included
This package intentionally does not include:
- Hosting integrations
- Dependency injection
- Logging
- Validation pipelines
- Event orchestration
- Response builders
- Handler base classes
These capabilities are provided by the implementation and hosting packages.
Related Packages
| Package | Purpose |
|---|---|
| Entra.EventHandlers | External ID implementation layer |
| Entra.EventHandlers.Workforce | Workforce implementation layer |
| Entra.EventHandlers.AspNetCore | ASP.NET Core hosting adapter |
| Entra.EventHandlers.AzureFunctions | Azure Functions hosting adapter |
| Entra.EventHandlers.Security | PasswordSubmit decryption and Azure Key Vault integration |
Documentation
Documentation, hosting guides, event references, architecture documentation, and samples:
https://github.com/szubajak/entra-event-handlers/tree/main/docs
AI-friendly repository metadata:
https://github.com/szubajak/entra-event-handlers/blob/main/llms.txt
License
This package is licensed under the MIT License.
The implementation, hosting, and security packages in the Entra.EventHandlers ecosystem are licensed separately under the Business Source License (BSL).
See the repository for complete licensing details.
Further Reading
Entra External ID .NET Handlers Deep Dive
https://medium.com/@jakub.szubarga/entra-external-id-dotnet-handlers-a7447dc1e437
Building CIAM-Ready Azure Functions with Entra.EventHandlers
https://medium.com/@jakub.szubarga/entra-eventhandlers-ciam-azure-functions-97c5e1940272
| 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. net11.0 is compatible. |
-
net10.0
- No dependencies.
-
net11.0
- No dependencies.
NuGet packages (5)
Showing the top 5 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, http adapter, 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. |
|
|
Entra.EventHandlers.Security
Security extensions for Microsoft Entra External ID Authentication Event Handlers. Provides PasswordSubmit encrypted password context decryption, Azure Key Vault certificate integration, RSA private key extraction, certificate caching, and production-ready implementations of IPasswordContextDecryptor for Just-In-Time password migration scenarios. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.7.0 | 194 | 11/12/2026 |
| 1.6.1 | 261 | 10/27/2026 |
| 1.6.0 | 360 | 10/9/2026 |
| 1.5.4 | 250 | 9/23/2026 |
| 1.5.3 | 124 | 9/22/2026 |
| 1.5.2 | 136 | 9/22/2026 |
| 1.5.1 | 133 | 9/22/2026 |
| 1.5.0 | 249 | 9/14/2026 |
| 1.4.2 | 396 | 7/16/2026 |
| 1.4.1 | 323 | 6/26/2026 |
| 1.4.0 | 199 | 6/25/2026 |
| 1.3.3 | 200 | 6/18/2026 |
| 1.3.2 | 199 | 6/10/2026 |
| 1.3.1 | 159 | 6/10/2026 |
| 1.3.0 | 138 | 6/10/2026 |
| 1.2.10 | 179 | 6/8/2026 |
| 1.2.9 | 478 | 6/7/2026 |
| 1.2.8 | 182 | 6/6/2026 |
| 1.2.7 | 189 | 6/6/2026 |
| 1.2.4 | 180 | 6/5/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.