Entra.EventHandlers
1.0.28
dotnet add package Entra.EventHandlers --version 1.0.28
NuGet\Install-Package Entra.EventHandlers -Version 1.0.28
<PackageReference Include="Entra.EventHandlers" Version="1.0.28" />
<PackageVersion Include="Entra.EventHandlers" Version="1.0.28" />
<PackageReference Include="Entra.EventHandlers" />
paket add Entra.EventHandlers --version 1.0.28
#r "nuget: Entra.EventHandlers, 1.0.28"
#:package Entra.EventHandlers@1.0.28
#addin nuget:?package=Entra.EventHandlers&version=1.0.28
#tool nuget:?package=Entra.EventHandlers&version=1.0.28
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:
AttributeCollectionStartResponseBuilderAttributeCollectionSubmitResponseBuilderTokenIssuanceStartResponseBuilderPrefillValuesBuilder
✔ 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();
📦 Related Packages
- 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 | 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
- Entra.EventHandlers.Abstractions (>= 1.0.28)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.8)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Initial release of Entra Event Handlers core implementation.