Entra.EventHandlers.Abstractions
1.6.0
See the version list below for details.
dotnet add package Entra.EventHandlers.Abstractions --version 1.6.0
NuGet\Install-Package Entra.EventHandlers.Abstractions -Version 1.6.0
<PackageReference Include="Entra.EventHandlers.Abstractions" Version="1.6.0" />
<PackageVersion Include="Entra.EventHandlers.Abstractions" Version="1.6.0" />
<PackageReference Include="Entra.EventHandlers.Abstractions" />
paket add Entra.EventHandlers.Abstractions --version 1.6.0
#r "nuget: Entra.EventHandlers.Abstractions, 1.6.0"
#:package Entra.EventHandlers.Abstractions@1.6.0
#addin nuget:?package=Entra.EventHandlers.Abstractions&version=1.6.0
#tool nuget:?package=Entra.EventHandlers.Abstractions&version=1.6.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, interfaces, and shared primitives used throughout the Entra.EventHandlers ecosystem.
Installation
dotnet add package Entra.EventHandlers.Abstractions
Features
- Strongly typed event request models
- Strongly typed response models
- Action definitions
- Handler interfaces
- Protocol constants
- OData payload models
- Dependency-free design
- Full XML documentation
Supported Events
External ID
- AttributeCollectionStart
- AttributeCollectionSubmit
- EmailOtpSend
- PasswordSubmit
- TokenIssuanceStart
Workforce
- VerifiedIdClaimValidation
Each event includes:
- Request model
- Response model
- Action definitions
- Payload types
- Handler interfaces
Example
public interface IAttributeCollectionStartHandler
: IEntraEventHandler<AttributeCollectionStartEvent, AttributeCollectionStartResponse>
{
}
Why This Package Exists
The abstractions package separates the public protocol contract from the implementation layer.
Benefits include:
- Stable API surface
- Framework-independent contracts
- Easier testing
- Reusable integrations
- Long-term compatibility
This package contains no:
- Hosting integrations
- Dependency injection setup
- Logging
- Validation pipelines
- Response builders
Those capabilities are provided by the implementation packages.
Related Packages
| Package | Purpose |
|---|---|
| Entra.EventHandlers | External ID implementation layer |
| Entra.EventHandlers.Workforce | Workforce implementation layer |
| Entra.EventHandlers.AspNetCore | ASP.NET Core hosting |
| Entra.EventHandlers.AzureFunctions | Azure Functions hosting |
| Entra.EventHandlers.Security | PasswordSubmit decryption and Azure Key Vault integration |
Documentation
Full documentation, event guides, hosting guides, 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 and hosting packages use the Business Source License (BSL).
Further Reading
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 (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.