Authagonal.Protocol
0.9.1
dotnet add package Authagonal.Protocol --version 0.9.1
NuGet\Install-Package Authagonal.Protocol -Version 0.9.1
<PackageReference Include="Authagonal.Protocol" Version="0.9.1" />
<PackageVersion Include="Authagonal.Protocol" Version="0.9.1" />
<PackageReference Include="Authagonal.Protocol" />
paket add Authagonal.Protocol --version 0.9.1
#r "nuget: Authagonal.Protocol, 0.9.1"
#:package Authagonal.Protocol@0.9.1
#addin nuget:?package=Authagonal.Protocol&version=0.9.1
#tool nuget:?package=Authagonal.Protocol&version=0.9.1
Authagonal.Protocol
Embeddable OIDC / OAuth 2.0 protocol surface extracted from Authagonal.Server.
Provides /connect/authorize, /connect/token, /connect/userinfo, /connect/par (RFC 9126 Pushed Authorization Requests), /.well-known/openid-configuration, and JWKS endpoints plus the token minting pipeline, nothing else. No user store, no SAML, no admin UI, no login pages.
Plug in your own identity via IOidcSubjectResolver and storage via IClientStore / IGrantStore / IScopeStore / ISigningKeyStore. Use this when you need to expose OIDC from an app that already has its own identity (e.g. share-link grants, service-to-service auth).
Quick start
dotnet add package Authagonal.Protocol
builder.Services.AddAuthagonalProtocol(opts =>
{
opts.AuthenticationScheme = "Cookies"; // or your custom scheme
opts.Clients.Add(new OidcClientDescriptor
{
ClientId = "my-rp",
RedirectUris = { "https://rp.example.com/callback" },
AllowedScopes = { "openid", "profile", "email" },
});
});
builder.Services.AddScoped<IOidcSubjectResolver, MySubjectResolver>();
builder.Services.AddSingleton<IClientStore, MyClientStore>();
// ... IGrantStore, IScopeStore, ISigningKeyStore, ITenantContext
app.MapAuthagonalProtocolEndpoints();
Federation passthrough
OidcSubject.FederationClaims carries per-session claims received from an upstream IdP through to issued tokens, gated by the same scope-driven UserClaims whitelist as CustomAttributes. Federation values win on key collision and survive refresh rotations distinct from the per-user record.
Packages
| Package | Description |
|---|---|
| Authagonal.Core | Core models, interfaces, and abstractions |
| Authagonal.Protocol | Embeddable OIDC/OAuth 2.0 protocol surface |
| Authagonal.AzureProvider | Azure Table Storage backend |
| Authagonal.AwsProvider | AWS backend, DynamoDB / S3 / Secrets Manager |
| Authagonal.Server | Full auth server, endpoints, middleware, services, login UI |
Links
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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
- Authagonal.Core (>= 0.9.1)
- BCrypt.Net-Next (>= 4.1.0)
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 10.0.5)
- Microsoft.IdentityModel.JsonWebTokens (>= 8.17.0)
- Microsoft.IdentityModel.Tokens (>= 8.17.0)
-
net9.0
- Authagonal.Core (>= 0.9.1)
- BCrypt.Net-Next (>= 4.1.0)
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 9.0.0)
- Microsoft.IdentityModel.JsonWebTokens (>= 8.17.0)
- Microsoft.IdentityModel.Tokens (>= 8.17.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Authagonal.Protocol:
| Package | Downloads |
|---|---|
|
Authagonal.Server
Drop-in authentication server for ASP.NET Core. OAuth 2.0, OIDC, SAML SSO, and admin APIs. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.9.1 | 0 | 7/18/2026 |
| 0.9.0 | 0 | 7/18/2026 |
| 0.8.2 | 0 | 7/18/2026 |
| 0.8.1 | 0 | 7/18/2026 |
| 0.8.0 | 9 | 7/18/2026 |
| 0.7.11 | 50 | 7/16/2026 |
| 0.7.10 | 59 | 7/16/2026 |
| 0.7.9 | 58 | 7/15/2026 |
| 0.7.8 | 80 | 7/15/2026 |
| 0.7.7 | 196 | 7/15/2026 |
| 0.7.6 | 108 | 7/15/2026 |
| 0.7.4 | 108 | 7/14/2026 |
| 0.7.3 | 106 | 7/14/2026 |
| 0.7.2 | 118 | 7/13/2026 |
| 0.7.1 | 116 | 7/12/2026 |
| 0.7.0 | 171 | 7/12/2026 |
| 0.6.6 | 130 | 7/12/2026 |
| 0.6.5 | 107 | 7/11/2026 |
| 0.6.4 | 117 | 7/11/2026 |
| 0.6.3 | 117 | 7/11/2026 |