Entra.EventHandlers 1.2.3

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

Entra.EventHandlers

Production‑ready implementation layer for Microsoft Entra Authentication Event Handlers. This package builds on top of the MIT‑licensed Entra.EventHandlers.Abstractions and provides fluent response builders, base handler infrastructure, and utilities for constructing custom extensions.


🚀 Features

✔ Fluent Response Builders

Strongly‑typed builders for constructing valid Entra responses:

  • AttributeCollectionStartResponseBuilder
  • AttributeCollectionSubmitResponseBuilder
  • TokenIssuanceStartResponseBuilder
  • PrefillValuesBuilder

✔ Unified Entry Point

EntraEventResponses.AttributeCollectionStart();
EntraEventResponses.AttributeCollectionSubmit();
EntraEventResponses.TokenIssuanceStart();

✔ Base Handler Infrastructure

Includes:

  • Structured logging
  • Correlation scoping
  • Execution timing
  • Protocol validation (@odata.type)
  • Consistent exception handling
  • Clean override point (HandleCore)
public class MyStartHandler : AttributeCollectionStartHandlerBase
{
    public MyStartHandler(ILogger<MyStartHandler> logger) : base(logger) {}

    protected override Task<AttributeCollectionStartResponse> HandleCore(
        AttributeCollectionStartEvent request,
        CancellationToken cancellationToken)
    {
        return Task.FromResult(
            EntraEventResponses
                .AttributeCollectionStart()
                .Allow()
                .Build());
    }
}

✔ Prefill Support

return EntraEventResponses
    .AttributeCollectionStart()
    .PrefillValues(p => p
        .With("email", "user@example.com")
        .With("country", "PL"))
    .Build();

  • Entra.EventHandlers.Abstractions — protocol types (MIT)
  • Entra.EventHandlers.AzureFunctions — Azure Functions integration (BSL)

🔒 License

This package is licensed under the Business Source License (BSL).

See:

A commercial license is required for production use by organizations with more than 5 employees.

A commercial license covers the entire Entra Event Handlers ecosystem, including all current and future BSL‑licensed packages.

Commercial License Pricing

  • Developer License — €99 / developer / year
  • Team License — €399 / year
  • Enterprise License — €1499 / year

For commercial licensing or support:
📧 jakub.szubarga@gmail.com

The abstractions package is MIT‑licensed and can be used freely.

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.

NuGet packages (2)

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

Package Downloads
Entra.EventHandlers.AzureFunctions

Azure Functions hosting adapter for Microsoft Entra External ID Authentication Event Handlers. Provides request/response adapters, function base classes, DI integration, and minimal boilerplate for building production-ready authentication extensions.

Entra.EventHandlers.AspNetCore

ASP.NET Core hosting adapter for Microsoft Entra External ID Authentication Event Handlers. Provides request/response adapters, endpoint base classes, DI integration, and minimal boilerplate for building production-ready authentication extensions.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.2 95 6/18/2026
1.3.1 138 6/11/2026
1.3.0 89 6/10/2026
1.2.10 121 6/8/2026
1.2.9 115 6/8/2026
1.2.8 105 6/8/2026
1.2.7 159 6/7/2026
1.2.6 117 6/6/2026
1.2.5 119 6/6/2026
1.2.4 118 6/5/2026
1.2.3 149 6/3/2026
1.2.0 134 6/3/2026
1.1.1 129 6/2/2026
1.1.0 134 6/1/2026
1.0.31 138 6/1/2026
1.0.30 132 6/1/2026
1.0.28 134 5/30/2026
1.0.25 122 5/30/2026
1.0.24 123 5/30/2026
1.0.22 121 5/30/2026
Loading failed

Initial release of Entra Event Handlers core implementation.