Entra.EventHandlers.Abstractions 1.6.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.6.0
                    
NuGet\Install-Package Entra.EventHandlers.Abstractions -Version 1.6.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.6.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.6.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.6.0
                    
#r "nuget: Entra.EventHandlers.Abstractions, 1.6.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.6.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.6.0
                    
Install as a Cake Addin
#tool nuget:?package=Entra.EventHandlers.Abstractions&version=1.6.0
                    
Install as a Cake Tool

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.

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 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 (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
Loading failed

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.