IdentityModel.OidcClient
6.0.0
Prefix Reserved
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 (90)
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 | 524,216 | 4/9/2024 |
6.0.0-preview.3 | 572 | 4/5/2024 |
6.0.0-preview.2 | 1,938 | 3/14/2024 |
6.0.0-preview.1 | 569 | 2/27/2024 |
5.3.0-preview.1 | 35,561 | 10/10/2023 |
5.2.1 | 17,603,273 | 1/3/2023 |
5.2.0 | 589,017 | 12/2/2022 |
5.1.0 | 923,477 | 10/10/2022 |
5.0.2 | 1,167,851 | 8/4/2022 |
5.0.0 | 1,324,878 | 12/13/2021 |
5.0.0-preview.2 | 4,387 | 10/18/2021 |
5.0.0-preview.1 | 91,215 | 7/14/2021 |
4.0.0 | 10,575,377 | 5/11/2021 |
4.0.0-preview.8 | 18,185 | 3/11/2021 |
4.0.0-preview.7 | 5,649 | 2/12/2021 |
4.0.0-preview.6 | 3,146 | 1/13/2021 |
4.0.0-preview.5 | 637 | 1/7/2021 |
4.0.0-preview.4 | 8,595 | 11/23/2020 |
4.0.0-preview.3 | 16,868 | 4/24/2020 |
4.0.0-preview.2 | 2,144 | 2/20/2020 |
4.0.0-preview.1.3 | 8,684 | 12/2/2019 |
3.1.2 | 21,319,055 | 12/2/2019 |
3.1.1 | 13,237 | 11/27/2019 |
3.1.0 | 64,644 | 11/5/2019 |
3.0.1 | 134,933 | 10/23/2019 |
3.0.0 | 22,810 | 10/20/2019 |
3.0.0-preview.3 | 2,613 | 9/20/2019 |
3.0.0-preview.2 | 1,503 | 9/9/2019 |
3.0.0-preview.1.15 | 1,430 | 7/9/2019 |
3.0.0-preview.1.12 | 15,191 | 6/27/2019 |
3.0.0-preview.1.3 | 5,893 | 5/9/2019 |
3.0.0-bunnahabhain | 1,804 | 1/6/2019 |
3.0.0-bruichladdich | 6,092 | 12/17/2018 |
3.0.0-bowmore | 1,854 | 12/4/2018 |
3.0.0-arran | 1,444 | 12/4/2018 |
2.9.1 | 396,440 | 8/24/2019 |
2.9.0 | 777,312 | 10/31/2018 |
2.8.1 | 312,010 | 7/12/2018 |
2.8.0 | 6,903 | 7/2/2018 |
2.7.0 | 177,611 | 5/31/2018 |
2.6.0 | 72,086 | 4/12/2018 |
2.6.0-preview-1 | 1,417 | 4/12/2018 |
2.5.1 | 13,736 | 3/13/2018 |
2.5.0 | 2,134 | 3/12/2018 |
2.4.0 | 51,805 | 1/5/2018 |
2.4.0-preview3 | 1,391 | 12/30/2017 |
2.4.0-preview2 | 1,473 | 12/27/2017 |
2.4.0-preview1 | 1,397 | 12/23/2017 |
2.3.0 | 14,645 | 10/30/2017 |
2.3.0-preview3 | 1,365 | 10/29/2017 |
2.3.0-preview2 | 1,312 | 10/29/2017 |
2.3.0-preview1 | 1,350 | 10/18/2017 |
2.2.0 | 51,816 | 5/31/2017 |
2.1.2 | 54,464 | 3/30/2017 |
2.1.1 | 5,232 | 3/24/2017 |
2.1.0 | 1,926 | 3/13/2017 |
2.0.1 | 13,088 | 3/1/2017 |
2.0.0 | 50,287 | 2/13/2017 |
2.0.0-dalwhinnie | 1,436 | 1/30/2017 |
2.0.0-craigellachie | 1,477 | 1/23/2017 |
2.0.0-cragganmore | 1,512 | 1/16/2017 |
2.0.0-caolila | 1,477 | 1/13/2017 |
2.0.0-bunnahabhain | 1,520 | 1/11/2017 |
2.0.0-bruichladdich | 1,630 | 12/14/2016 |
2.0.0-bowmore | 1,489 | 12/14/2016 |
2.0.0-alpha2 | 3,345 | 10/7/2016 |
2.0.0-alpha1 | 1,359 | 10/4/2016 |
1.7.0 | 62,810 | 12/19/2016 |
1.6.0 | 1,745 | 12/16/2016 |
1.5.1 | 4,952 | 12/13/2016 |
1.5.0 | 1,807 | 12/8/2016 |
1.5.0-beta1 | 1,367 | 12/2/2016 |
1.4.0 | 4,090 | 9/18/2016 |
1.3.0 | 1,801 | 8/30/2016 |
1.2.1 | 2,599 | 7/29/2016 |
1.2.0 | 4,036 | 7/19/2016 |
1.1.1 | 1,736 | 7/17/2016 |
1.1.0 | 2,165 | 7/8/2016 |
1.0.0 | 8,234 | 4/28/2016 |