AuthCallout.Identity 0.1.3

dotnet add package AuthCallout.Identity --version 0.1.3
                    
NuGet\Install-Package AuthCallout.Identity -Version 0.1.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="AuthCallout.Identity" Version="0.1.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AuthCallout.Identity" Version="0.1.3" />
                    
Directory.Packages.props
<PackageReference Include="AuthCallout.Identity" />
                    
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 AuthCallout.Identity --version 0.1.3
                    
#r "nuget: AuthCallout.Identity, 0.1.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 AuthCallout.Identity@0.1.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=AuthCallout.Identity&version=0.1.3
                    
Install as a Cake Addin
#tool nuget:?package=AuthCallout.Identity&version=0.1.3
                    
Install as a Cake Tool

AuthCallout.Identity

Identity primitives from nats-auth-callout-service, a NATS auth callout that validates OIDC tokens and mints scoped NATS user JWTs.

A subscriber uses this package to verify the signed Callout-Identity header a client attaches to its messages (ADR 0010/0011):

  1. Read the assertion from the message header named in the app's discovery descriptor.
  2. Read its kid header and fetch the public key from the callout_assertion_keys KV bucket (cache it per kid).
  3. Verify with AssertionSigner.Verify(compactJwt, publicKey). It returns AssertionClaims, or null for a bad signature or malformed token.
  4. Reject when claims.Expiry is in the past.
using var signer = new AssertionSigner([new ResolvedAssertionKey("verify-only", throwawaySeed, Active: true)]);
AssertionClaims? claims = signer.Verify(headerValue, publicKey);

AssertionSigner needs one active key in its keyset even when you only verify; a throwaway, never-used NKey satisfies it. The repo's dev/samples/Shared shows the full client and subscriber flow (discovery, self-assertion fetch, verification, OIDC token resolution).

Also contains the service's OIDC TokenValidator and JWKS cache.

Docs: https://ryandanthony.github.io/nats-auth-callout-service/ (see Identity propagation).

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
0.1.3 0 11/13/2026