Duende.Labs.IdentityModel
2026.726.12
Prefix Reserved
See the version list below for details.
dotnet add package Duende.Labs.IdentityModel --version 2026.726.12
NuGet\Install-Package Duende.Labs.IdentityModel -Version 2026.726.12
<PackageReference Include="Duende.Labs.IdentityModel" Version="2026.726.12" />
<PackageVersion Include="Duende.Labs.IdentityModel" Version="2026.726.12" />
<PackageReference Include="Duende.Labs.IdentityModel" />
paket add Duende.Labs.IdentityModel --version 2026.726.12
#r "nuget: Duende.Labs.IdentityModel, 2026.726.12"
#:package Duende.Labs.IdentityModel@2026.726.12
#addin nuget:?package=Duende.Labs.IdentityModel&version=2026.726.12
#tool nuget:?package=Duende.Labs.IdentityModel&version=2026.726.12
IdentityModel for .NET
Modern OpenID Connect and OAuth 2.0 client library for .NET 10+.
Installation
dotnet add package Duende.Labs.IdentityModel
Note This package is experimental/preview. For production scenarios, consider Duende.IdentityModel.
Features
This package provides request/response models and HttpClient extensions for:
- Discovery document retrieval
- JSON Web Keys (JWK/JWKS)
- Token endpoint requests
- Token introspection and revocation
- UserInfo endpoint access
- Device authorization flow
- Pushed Authorization Requests (PAR)
- Dynamic client registration
- Rich Authorization Requests (RAR)
Quick start
using Duende.Labs.IdentityModel.Discovery;
var client = new HttpClient();
var result = await client.GetDiscoveryDocumentAsync(cancellationToken);
if (result.IsSuccess)
{
Console.WriteLine(result.Response.TokenEndpoint);
}
else
{
Console.WriteLine(result.Error.Message);
}
Samples
Runnable samples are available in the repository under libs/identity-model/dotnet/samples/, for example:
dotnet run --project samples/Discovery
Learn more
- Production library: Duende.IdentityModel
License
IdentityModel is open source under the Apache 2.0 license.
| 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
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Duende.Labs.IdentityModel:
| Package | Downloads |
|---|---|
|
Duende.Labs.AccessTokenManagement
Automatic access token management for OAuth client credential flows |
|
|
Duende.Labs.IdentityModel.OidcClient
RFC8252 compliant and certified OpenID Connect and OAuth 2.0 client library for native applications |
|
|
Duende.Labs.IdentityModel.DependencyInjection
Dependency injection and IHttpClientFactory integration for Duende.Labs.IdentityModel |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.806.21 | 113 | 8/6/2026 |
| 2026.804.20 | 112 | 8/4/2026 |
| 2026.729.19 | 112 | 7/29/2026 |
| 2026.729.18 | 101 | 7/29/2026 |
| 2026.729.17 | 98 | 7/29/2026 |
| 2026.728.16 | 101 | 7/28/2026 |
| 2026.728.15 | 106 | 7/28/2026 |
| 2026.727.14 | 472 | 7/27/2026 |
| 2026.727.13 | 98 | 7/27/2026 |
| 2026.726.12 | 139 | 7/26/2026 |
| 2026.725.11 | 739 | 7/25/2026 |
| 2026.724.10 | 118 | 7/24/2026 |
| 2026.724.9 | 102 | 7/24/2026 |
| 2026.724.8 | 93 | 7/24/2026 |