IdentityModel.OidcClient 6.0.0-preview.3 (original) (raw)
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 repositoryshows 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 availablehere.
Standards and Certification
IdentityModel.OidcClient is a certified OpenID Connect relying party implementation, and implements RFC 8252, "OAuth 2.0 for native Applications".
- 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 theApache 2.0 license. Bug reports and contributions are welcome atthe GitHub repository.
| Product | 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 (86)
Showing the top 5 NuGet packages that depend on IdentityModel.OidcClient:
| Package | Downloads |
|---|---|
| CUSTIS.NetCore.AppHost Инструменты для хостинга приложения | 371.6K |
| aemarcoToolbox c# tools collection | 128.9K |
| Uno.Licensing.Sdk Uno Platform User Licensing Management Support | 112.5K |
| GP.CloudWebLib CloudWebLib | 98.6K |
| 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. | 95.8K |
GitHub repositories (21)
Showing the top 20 popular GitHub repositories that depend on IdentityModel.OidcClient:
| Repository | Stars |
|---|---|
| Devolutions/UniGetUI UniGetUI: The Graphical Interface for your package managers. Could be terribly described as a package manager manager to manage your package managers | 24.5K |
| dotnet/eShop A reference .NET application implementing an eCommerce site | 10.6K |
| 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!! | 10.0K |
| enkodellc/blazorboilerplate Blazor Boilerplate / Starter Template with MudBlazor | 1.9K |
| abpframework/abp-samples Sample solutions built with the ABP Framework | 1.3K |
| dotnet/MobileBlazorBindings Experimental Mobile Blazor Bindings - Build native and hybrid mobile apps with Blazor | 1.2K |
| Phalcode/gamevault-app Frontend for the self-hosted gaming platform for drm-free games | 759 |
| Kyrodan/KeeAnywhere A cloud storage provider plugin for KeePass Password Safe | 745 |
| T0shik/aspnetcore3-authentication | 537 |
| yoshiask/FluentStore A unifying frontend for Windows app stores and package managers | 536 |
| SteveSandersonMS/BlazeOrbital Sample application for Blazor WebAssembly on .NET 6 | 514 |
| alexhiggins732/IdentityServer8 DotNet 8, Identity, OpenID Connect and OAuth 2.0 Framework for ASP.NET Core Identity Server 8 | 406 |
| CCob/okta-terrify Okta Verify and Okta FastPass Abuse Tool | 343 |
| DuendeArchive/IdentityModel.OidcClient.Samples | 306 |
| Azure-Samples/eShopOnAzure A variant of https://github.com/dotnet/eShop that uses Azure services | 272 |
| unoplatform/Uno.Samples A collection of code samples for the Uno Platform | 258 |
| davidbritch/xamarin-forms Samples for Xamarin.Forms | 131 |
| damienbod/AspNetCoreWindowsAuth Local and Windows Authentication, ASP.NET Core MVC, IdentityServer4 | 127 |
| ZL154/JellyfinSecurity A Jellyfin plugin that adds native two-factor authentication (TOTP, email OTP) with trusted device tokens, TV device pairing, LAN bypass, and API key bypass. Server-side enforcement — works with all clients including web, mobile, TV, and service integrations like Sonarr/Radarr. | 116 |
| matt-goldman/MauiCleanTodos Clean Architecture with ASP.NET Core, .NET MAUI and Blazor | 112 |
Include prerelease
Include vulnerable
Include deprecated
| Version | Downloads | Last Updated |
|---|