Jovanne.Jwks.Server
1.0.0
dotnet add package Jovanne.Jwks.Server --version 1.0.0
NuGet\Install-Package Jovanne.Jwks.Server -Version 1.0.0
<PackageReference Include="Jovanne.Jwks.Server" Version="1.0.0" />
<PackageVersion Include="Jovanne.Jwks.Server" Version="1.0.0" />
<PackageReference Include="Jovanne.Jwks.Server" />
paket add Jovanne.Jwks.Server --version 1.0.0
#r "nuget: Jovanne.Jwks.Server, 1.0.0"
#:package Jovanne.Jwks.Server@1.0.0
#addin nuget:?package=Jovanne.Jwks.Server&version=1.0.0
#tool nuget:?package=Jovanne.Jwks.Server&version=1.0.0
Jovanne.Jwks.Server
Pacote para aplicacoes ASP.NET Core que emitem tokens e precisam gerenciar chaves JWKS persistidas no banco de dados.
Este pacote concentra as dependencias de servidor: ASP.NET Core Identity, Entity Framework Core e o armazenamento de chaves JWKS.
Instalacao
dotnet add package Jovanne.Jwks.Server
Configuracao
Registre o servidor JWKS no Program.cs:
builder.Services.AddJovanneJwksServer<ApplicationUser, IdentityRole, ApplicationDbContext>();
O metodo registra:
AddJwksManagercom assinaturaRsaSsaPssSha256.- Persistencia das chaves JWKS via Entity Framework Core.
- ASP.NET Core Identity com roles, stores do EF Core e token providers padrao.
Requisitos dos tipos genericos
where TRole : IdentityRole
where TUser : IdentityUser
where TDbContext : DbContext, ISecurityKeyContext
O ApplicationDbContext precisa herdar de DbContext e implementar ISecurityKeyContext.
Exemplo de DbContext
public class ApplicationDbContext :
IdentityDbContext<ApplicationUser, IdentityRole, string>,
ISecurityKeyContext
{
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
: base(options)
{
}
public DbSet<KeyMaterial> SecurityKeys { get; set; }
}
Consulte a documentacao do NetDevPack.Security.Jwt.Store.EntityFrameworkCore para os detalhes exatos exigidos por ISecurityKeyContext.
Dependencias
Microsoft.AspNetCore.AppMicrosoft.AspNetCore.Identity.EntityFrameworkCoreNetDevPack.Security.Jwt.AspNetCoreNetDevPack.Security.Jwt.Store.EntityFrameworkCore
| 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
- Microsoft.AspNetCore.Identity.EntityFrameworkCore (>= 9.0.0)
- NetDevPack.Security.Jwt.AspNetCore (>= 9.0.4)
- NetDevPack.Security.Jwt.Store.EntityFrameworkCore (>= 9.1.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Jovanne.Jwks.Server:
| Package | Downloads |
|---|---|
|
Jovanne.Jwks
Pacote agregador para configurar client e server JWKS em uma mesma aplicacao ASP.NET Core. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 50 | 6/24/2026 |