AuthCallout.Identity
0.1.3
dotnet add package AuthCallout.Identity --version 0.1.3
NuGet\Install-Package AuthCallout.Identity -Version 0.1.3
<PackageReference Include="AuthCallout.Identity" Version="0.1.3" />
<PackageVersion Include="AuthCallout.Identity" Version="0.1.3" />
<PackageReference Include="AuthCallout.Identity" />
paket add AuthCallout.Identity --version 0.1.3
#r "nuget: AuthCallout.Identity, 0.1.3"
#:package AuthCallout.Identity@0.1.3
#addin nuget:?package=AuthCallout.Identity&version=0.1.3
#tool nuget:?package=AuthCallout.Identity&version=0.1.3
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):
- Read the assertion from the message header named in the app's discovery descriptor.
- Read its
kidheader and fetch the public key from thecallout_assertion_keysKV bucket (cache it perkid). - Verify with
AssertionSigner.Verify(compactJwt, publicKey). It returnsAssertionClaims, ornullfor a bad signature or malformed token. - Reject when
claims.Expiryis 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 | 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
- AuthCallout.Contracts (>= 0.1.3)
- AuthCallout.Core (>= 0.1.3)
- Microsoft.Extensions.Http.Resilience (>= 10.9.0)
- Microsoft.IdentityModel.Protocols.OpenIdConnect (>= 8.22.0)
- NATS.NKeys (>= 1.0.2)
- System.IdentityModel.Tokens.Jwt (>= 8.22.0)
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 |