IdentityModel.OidcClient
6.0.0
dotnet add package IdentityModel.OidcClient --version 6.0.0
NuGet\Install-Package IdentityModel.OidcClient -Version 6.0.0
<PackageReference Include="IdentityModel.OidcClient" Version="6.0.0" />
paket add IdentityModel.OidcClient --version 6.0.0
#r "nuget: IdentityModel.OidcClient, 6.0.0"
// Install IdentityModel.OidcClient as a Cake Addin #addin nuget:?package=IdentityModel.OidcClient&version=6.0.0 // Install IdentityModel.OidcClient as a Cake Tool #tool nuget:?package=IdentityModel.OidcClient&version=6.0.0
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. |
.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)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
- System.Text.Json (>= 8.0.0)
-
net6.0
- IdentityModel (>= 7.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
NuGet packages (93)
Showing the top 5 NuGet packages that depend on IdentityModel.OidcClient:
Package | Downloads |
---|---|
KubernetesClient
Client library for the Kubernetes open source container orchestrator. |
|
Auth0.OidcClient.Core
Auth0 OIDC Client for native apps |
|
IdentityModel.OidcClient.IdentityTokenValidator
Identity token validator for IdentityModeo.OidcClient based on the Microsoft JWT handler |
|
Teradata.Client.Provider
The .NET Data Provider for Teradata is an implementation of the Microsoft ADO.NET Data Provider specification. It provides direct access to the Teradata Database and integrates with the System.Data.DataSet class. |
|
CUSTIS.NetCore.AppHost
Инструменты для хостинга приложения |
GitHub repositories (20)
Showing the top 5 popular GitHub repositories that depend on IdentityModel.OidcClient:
Repository | Stars |
---|---|
IdentityServer/IdentityServer4
OpenID Connect and OAuth 2.0 Framework for ASP.NET Core
|
|
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
|
Version | Downloads | Last updated |
---|---|---|
6.0.0 | 804,544 | 4/9/2024 |
6.0.0-preview.3 | 584 | 4/5/2024 |
6.0.0-preview.2 | 2,373 | 3/14/2024 |
6.0.0-preview.1 | 599 | 2/27/2024 |
5.3.0-preview.1 | 41,767 | 10/10/2023 |
5.2.1 | 20,610,330 | 1/3/2023 |
5.2.0 | 615,223 | 12/2/2022 |
5.1.0 | 964,612 | 10/10/2022 |
5.0.2 | 1,202,778 | 8/4/2022 |
5.0.0 | 1,375,013 | 12/13/2021 |
5.0.0-preview.2 | 4,396 | 10/18/2021 |
5.0.0-preview.1 | 96,913 | 7/14/2021 |
4.0.0 | 10,943,986 | 5/11/2021 |
4.0.0-preview.8 | 18,212 | 3/11/2021 |
4.0.0-preview.7 | 5,657 | 2/12/2021 |
4.0.0-preview.6 | 3,159 | 1/13/2021 |
4.0.0-preview.5 | 647 | 1/7/2021 |
4.0.0-preview.4 | 8,610 | 11/23/2020 |
4.0.0-preview.3 | 16,932 | 4/24/2020 |
4.0.0-preview.2 | 2,153 | 2/20/2020 |
4.0.0-preview.1.3 | 8,777 | 12/2/2019 |
3.1.2 | 21,902,977 | 12/2/2019 |
3.1.1 | 14,535 | 11/27/2019 |
3.1.0 | 65,527 | 11/5/2019 |
3.0.1 | 138,370 | 10/23/2019 |
3.0.0 | 23,564 | 10/20/2019 |
3.0.0-preview.3 | 2,622 | 9/20/2019 |
3.0.0-preview.2 | 1,522 | 9/9/2019 |
3.0.0-preview.1.15 | 1,442 | 7/9/2019 |
3.0.0-preview.1.12 | 15,555 | 6/27/2019 |
3.0.0-preview.1.3 | 5,902 | 5/9/2019 |
3.0.0-bunnahabhain | 1,815 | 1/6/2019 |
3.0.0-bruichladdich | 6,106 | 12/17/2018 |
3.0.0-bowmore | 1,866 | 12/4/2018 |
3.0.0-arran | 1,455 | 12/4/2018 |
2.9.1 | 403,487 | 8/24/2019 |
2.9.0 | 791,740 | 10/31/2018 |
2.8.1 | 315,932 | 7/12/2018 |
2.8.0 | 7,148 | 7/2/2018 |
2.7.0 | 179,831 | 5/31/2018 |
2.6.0 | 73,992 | 4/12/2018 |
2.6.0-preview-1 | 1,442 | 4/12/2018 |
2.5.1 | 14,245 | 3/13/2018 |
2.5.0 | 2,365 | 3/12/2018 |
2.4.0 | 52,315 | 1/5/2018 |
2.4.0-preview3 | 1,416 | 12/30/2017 |
2.4.0-preview2 | 1,499 | 12/27/2017 |
2.4.0-preview1 | 1,420 | 12/23/2017 |
2.3.0 | 14,982 | 10/30/2017 |
2.3.0-preview3 | 1,387 | 10/29/2017 |
2.3.0-preview2 | 1,336 | 10/29/2017 |
2.3.0-preview1 | 1,372 | 10/18/2017 |
2.2.0 | 52,589 | 5/31/2017 |
2.1.2 | 55,003 | 3/30/2017 |
2.1.1 | 5,307 | 3/24/2017 |
2.1.0 | 1,954 | 3/13/2017 |
2.0.1 | 13,114 | 3/1/2017 |
2.0.0 | 50,852 | 2/13/2017 |
2.0.0-dalwhinnie | 1,459 | 1/30/2017 |
2.0.0-craigellachie | 1,498 | 1/23/2017 |
2.0.0-cragganmore | 1,535 | 1/16/2017 |
2.0.0-caolila | 1,499 | 1/13/2017 |
2.0.0-bunnahabhain | 1,544 | 1/11/2017 |
2.0.0-bruichladdich | 1,651 | 12/14/2016 |
2.0.0-bowmore | 1,511 | 12/14/2016 |
2.0.0-alpha2 | 3,367 | 10/7/2016 |
2.0.0-alpha1 | 1,381 | 10/4/2016 |
1.7.0 | 63,746 | 12/19/2016 |
1.6.0 | 1,771 | 12/16/2016 |
1.5.1 | 4,976 | 12/13/2016 |
1.5.0 | 1,831 | 12/8/2016 |
1.5.0-beta1 | 1,384 | 12/2/2016 |
1.4.0 | 4,126 | 9/18/2016 |
1.3.0 | 1,824 | 8/30/2016 |
1.2.1 | 2,625 | 7/29/2016 |
1.2.0 | 4,059 | 7/19/2016 |
1.1.1 | 1,759 | 7/17/2016 |
1.1.0 | 2,188 | 7/8/2016 |
1.0.0 | 8,920 | 4/28/2016 |