Entra.EventHandlers 1.0.28

dotnet add package Entra.EventHandlers --version 1.0.28
                    
NuGet\Install-Package Entra.EventHandlers -Version 1.0.28
                    
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.0.28" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Entra.EventHandlers" Version="1.0.28" />
                    
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.0.28
                    
#r "nuget: Entra.EventHandlers, 1.0.28"
                    
#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.0.28
                    
#: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.0.28
                    
Install as a Cake Addin
#tool nuget:?package=Entra.EventHandlers&version=1.0.28
                    
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).
The abstractions package is MIT‑licensed.

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

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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.28 31 5/30/2026
1.0.25 30 5/30/2026
1.0.24 29 5/30/2026
1.0.22 29 5/30/2026
1.0.21 35 5/30/2026
1.0.20 44 5/29/2026
1.0.18 40 5/29/2026

Initial release of Entra Event Handlers core implementation.