IdentityModel.OidcClient
6.0.0-preview.3
Duende.IdentityModel.OidcClient
Additional DetailsThis package have been rebranded and replaced with Duende.IdentityModel.OidcClient. Please update your package references.
dotnet add package IdentityModel.OidcClient --version 6.0.0-preview.3
NuGet\Install-Package IdentityModel.OidcClient -Version 6.0.0-preview.3
<PackageReference Include="IdentityModel.OidcClient" Version="6.0.0-preview.3" />
<PackageVersion Include="IdentityModel.OidcClient" Version="6.0.0-preview.3" />
<PackageReference Include="IdentityModel.OidcClient" />
paket add IdentityModel.OidcClient --version 6.0.0-preview.3
#r "nuget: IdentityModel.OidcClient, 6.0.0-preview.3"
#:package IdentityModel.OidcClient@6.0.0-preview.3
#addin nuget:?package=IdentityModel.OidcClient&version=6.0.0-preview.3&prerelease
#tool nuget:?package=IdentityModel.OidcClient&version=6.0.0-preview.3&prerelease
About IdentityModel.OidcClient
IdentityModel.OidcClient is an OpenID Connect (OIDC) client library for native applications. It provides
- Types that describe OIDC requests and responses
- Low level methods to construct protocol state and handle responses
- Higher level methods for
- Logging in
- Logging out
- Retrieving userinfo
- Refreshing tokens
Samples
IdentityModel.OidcClient targets .NET Standard, making it suitable for .NET and .NET Framework. It can be used to build OIDC native clients with a variety of .NET UI tools. The samples repository shows how to use it in
- .NET MAUI
- WPF with the system browser
- WPF with an embedded browser
- WinForms with an embedded browser
- Cross Platform Console Applications (relies on kestrel for processing the callback)
- Windows Console Applications (relies on an HttpListener - a wrapper around the windows HTTP.sys driver)
- Windows Console Applications using custom uri schemes
Documentation
More documentation is available here.
Standards and Certification
IdentityModel.OidcClient is a certified OpenID Connect relying party implementation, and implements RFC 8252, "OAuth 2.0 for native Applications".
Related Packages
- Library for claims-based identity, OAuth 2.0, and OpenID Connect: IdentityModel
- Id token validator for IdentityModel.OidcClient based on the Microsoft JWT handler: IdentityModel.OidcClient.IdentityTokenValidator
- DPoP extensions for IdentityModel.OidcClient: IdentityModel.OidcClient.DPoP
- Authentication handler for introspection tokens: IdentityModel.AspNetCore.OAuth2Introspection
Feedback
IdentityModel.OidcClient is released as open source under the Apache 2.0 license. Bug reports and contributions are welcome at the GitHub repository.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. 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 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- IdentityModel (>= 7.0.0-preview.4)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
- System.Text.Json (>= 8.0.0)
-
net6.0
- IdentityModel (>= 7.0.0-preview.4)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
NuGet packages (87)
Showing the top 5 NuGet packages that depend on IdentityModel.OidcClient:
Package | Downloads |
---|---|
CUSTIS.NetCore.AppHost
Инструменты для хостинга приложения |
|
Uno.Extensions.Authentication.Oidc.WinUI
Oidc Authentication Extensions for the Uno Platform (WinUI) |
|
aemarcoToolbox
c# tools collection |
|
GP.CloudWebLib
CloudWebLib |
|
Allie.Chat.WebAPI
The WebAPI Client Service assembly for Allie.Chat, an RSS messaging and routing platform to consolidate messages from multiple providers including Twitch, Discord, Websocket and Tcp. |
GitHub repositories (20)
Showing the top 20 popular GitHub repositories that depend on IdentityModel.OidcClient:
Repository | Stars |
---|---|
unoplatform/uno
Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
|
|
dotnet/eShop
A reference .NET application implementing an eCommerce site
|
|
enkodellc/blazorboilerplate
Blazor Boilerplate / Starter Template with MudBlazor
|
|
abpframework/abp-samples
Sample solutions built with the ABP Framework
|
|
dotnet/MobileBlazorBindings
Experimental Mobile Blazor Bindings - Build native and hybrid mobile apps with Blazor
|
|
kubernetes-client/csharp
Officially supported dotnet Kubernetes Client library
|
|
9p4/jellyfin-plugin-sso
This plugin allows users to sign in through an SSO provider (such as Google, Microsoft, or your own provider). This enables one-click signin.
|
|
Kyrodan/KeeAnywhere
A cloud storage provider plugin for KeePass Password Safe
|
|
Phalcode/gamevault-app
Frontend for the self-hosted gaming platform for drm-free games
|
|
T0shik/aspnetcore3-authentication
|
|
SteveSandersonMS/BlazeOrbital
Sample application for Blazor WebAssembly on .NET 6
|
|
yoshiask/FluentStore
A unifying frontend for Windows app stores and package managers
|
|
alexhiggins732/IdentityServer8
DotNet 8, Identity, OpenID Connect and OAuth 2.0 Framework for ASP.NET Core Identity Server 8
|
|
CCob/okta-terrify
Okta Verify and Okta FastPass Abuse Tool
|
|
DuendeArchive/IdentityModel.OidcClient.Samples
|
|
unoplatform/Uno.Samples
A collection of code samples for the Uno Platform
|
|
Azure-Samples/eShopOnAzure
A variant of https://github.com/dotnet/eShop that uses Azure services
|
|
oidcproxydotnet/OidcProxy.Net
An extendible framework for .NET to implement the BFF Security Pattern (a.k.a. Token Handler Pattern) in Single Page Applications
|
|
davidbritch/xamarin-forms
Samples for Xamarin.Forms
|
|
damienbod/AspNetCoreWindowsAuth
Local and Windows Authentication, ASP.NET Core MVC, IdentityServer4
|
Version | Downloads | Last Updated |
---|