NOF.Hosting.AspNetCore.Extensions.Authority 6.5.2-nightly.1114223.58a29aa

This is a prerelease version of NOF.Hosting.AspNetCore.Extensions.Authority.
dotnet add package NOF.Hosting.AspNetCore.Extensions.Authority --version 6.5.2-nightly.1114223.58a29aa
                    
NuGet\Install-Package NOF.Hosting.AspNetCore.Extensions.Authority -Version 6.5.2-nightly.1114223.58a29aa
                    
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="NOF.Hosting.AspNetCore.Extensions.Authority" Version="6.5.2-nightly.1114223.58a29aa" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NOF.Hosting.AspNetCore.Extensions.Authority" Version="6.5.2-nightly.1114223.58a29aa" />
                    
Directory.Packages.props
<PackageReference Include="NOF.Hosting.AspNetCore.Extensions.Authority" />
                    
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 NOF.Hosting.AspNetCore.Extensions.Authority --version 6.5.2-nightly.1114223.58a29aa
                    
#r "nuget: NOF.Hosting.AspNetCore.Extensions.Authority, 6.5.2-nightly.1114223.58a29aa"
                    
#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 NOF.Hosting.AspNetCore.Extensions.Authority@6.5.2-nightly.1114223.58a29aa
                    
#: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=NOF.Hosting.AspNetCore.Extensions.Authority&version=6.5.2-nightly.1114223.58a29aa&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=NOF.Hosting.AspNetCore.Extensions.Authority&version=6.5.2-nightly.1114223.58a29aa&prerelease
                    
Install as a Cake Tool

NOF.Hosting.AspNetCore.Extensions.Authority

ASP.NET Core JWT authority hosting extension for the NOF Framework.

Overview

Provides a complete JWT authority for ASP.NET Core hosted NOF applications. Includes token issuance, RSA key management with rotation, standard /.well-known/jwks.json endpoint, refresh token validation/revocation, and local token validation without HTTP round-trips. JWT client infrastructure (OIDC resource server, JWKS fetching) is built into NOF.Infrastructure.Core.

Features

  • Token Issuance — generate access and refresh token pairs with kid in JWT header
  • Key Management — ISigningKeyService with RSA key rotation and retired key retention
  • Standard JWKS Endpoint — /.well-known/jwks.json served directly via minimal API, compatible with OIDC clients
  • Local Token Validation — the authority validates its own tokens using LocalJwksProvider without HTTP calls
  • Refresh Token Lifecycle — validate and revoke refresh tokens with cache-based revocation
  • Automatic Key Rotation — background service rotates keys on a configurable interval and publishes KeyRotationNotification for distributed JWKS refresh
  • Service Registration — AddJwtAuthority() registers all required services and the JWKS endpoint in one call

Usage

var builder = NOFWebApplicationBuilder.Create(args, useDefaultConfigs: true);

builder.AddJwtAuthority();

Configure via JwtOptions in your application settings:

{
  "Jwt": {
    "Issuer": "your-app"
  }
}

Or configure programmatically:

builder.AddJwtAuthority(options =>
{
    options.Issuer = "your-app";
    options.KeySize = 2048;
    options.RetiredKeyRetentionCount = 2;
});

Dependencies

Installation

dotnet add package NOF.Hosting.AspNetCore.Extensions.Authority

License

Apache-2.0

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
6.5.2-nightly.1114223.58a29aa 106 2/12/2026
6.5.2-nightly.1114104.3cf19e5 82 2/12/2026
6.5.2-nightly.1114080.bddee50 86 2/12/2026
6.5.2-nightly.1113994.8e9bb65 85 2/12/2026
6.5.2-nightly.1113991.a5ba919 79 2/12/2026
6.5.2-nightly.1113966.83cc1b8 83 2/12/2026
6.5.2-nightly.1113856.764deac 84 2/12/2026
6.5.2-nightly.1112633.14ede58 77 2/11/2026