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 (91)
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 | 649,780 | 4/9/2024 |
6.0.0-preview.3 | 582 | 4/5/2024 |
6.0.0-preview.2 | 2,107 | 3/14/2024 |
6.0.0-preview.1 | 590 | 2/27/2024 |
5.3.0-preview.1 | 38,469 | 10/10/2023 |
5.2.1 | 18,965,170 | 1/3/2023 |
5.2.0 | 600,497 | 12/2/2022 |
5.1.0 | 942,715 | 10/10/2022 |
5.0.2 | 1,183,827 | 8/4/2022 |
5.0.0 | 1,348,294 | 12/13/2021 |
5.0.0-preview.2 | 4,394 | 10/18/2021 |
5.0.0-preview.1 | 94,502 | 7/14/2021 |
4.0.0 | 10,749,867 | 5/11/2021 |
4.0.0-preview.8 | 18,198 | 3/11/2021 |
4.0.0-preview.7 | 5,655 | 2/12/2021 |
4.0.0-preview.6 | 3,155 | 1/13/2021 |
4.0.0-preview.5 | 643 | 1/7/2021 |
4.0.0-preview.4 | 8,603 | 11/23/2020 |
4.0.0-preview.3 | 16,911 | 4/24/2020 |
4.0.0-preview.2 | 2,151 | 2/20/2020 |
4.0.0-preview.1.3 | 8,724 | 12/2/2019 |
3.1.2 | 21,592,104 | 12/2/2019 |
3.1.1 | 13,782 | 11/27/2019 |
3.1.0 | 64,984 | 11/5/2019 |
3.0.1 | 136,682 | 10/23/2019 |
3.0.0 | 23,159 | 10/20/2019 |
3.0.0-preview.3 | 2,620 | 9/20/2019 |
3.0.0-preview.2 | 1,511 | 9/9/2019 |
3.0.0-preview.1.15 | 1,436 | 7/9/2019 |
3.0.0-preview.1.12 | 15,354 | 6/27/2019 |
3.0.0-preview.1.3 | 5,900 | 5/9/2019 |
3.0.0-bunnahabhain | 1,811 | 1/6/2019 |
3.0.0-bruichladdich | 6,102 | 12/17/2018 |
3.0.0-bowmore | 1,862 | 12/4/2018 |
3.0.0-arran | 1,451 | 12/4/2018 |
2.9.1 | 399,705 | 8/24/2019 |
2.9.0 | 784,021 | 10/31/2018 |
2.8.1 | 313,840 | 7/12/2018 |
2.8.0 | 6,982 | 7/2/2018 |
2.7.0 | 178,745 | 5/31/2018 |
2.6.0 | 72,947 | 4/12/2018 |
2.6.0-preview-1 | 1,428 | 4/12/2018 |
2.5.1 | 13,903 | 3/13/2018 |
2.5.0 | 2,207 | 3/12/2018 |
2.4.0 | 51,994 | 1/5/2018 |
2.4.0-preview3 | 1,405 | 12/30/2017 |
2.4.0-preview2 | 1,486 | 12/27/2017 |
2.4.0-preview1 | 1,409 | 12/23/2017 |
2.3.0 | 14,748 | 10/30/2017 |
2.3.0-preview3 | 1,377 | 10/29/2017 |
2.3.0-preview2 | 1,325 | 10/29/2017 |
2.3.0-preview1 | 1,360 | 10/18/2017 |
2.2.0 | 52,197 | 5/31/2017 |
2.1.2 | 54,695 | 3/30/2017 |
2.1.1 | 5,246 | 3/24/2017 |
2.1.0 | 1,938 | 3/13/2017 |
2.0.1 | 13,098 | 3/1/2017 |
2.0.0 | 50,526 | 2/13/2017 |
2.0.0-dalwhinnie | 1,447 | 1/30/2017 |
2.0.0-craigellachie | 1,488 | 1/23/2017 |
2.0.0-cragganmore | 1,524 | 1/16/2017 |
2.0.0-caolila | 1,488 | 1/13/2017 |
2.0.0-bunnahabhain | 1,530 | 1/11/2017 |
2.0.0-bruichladdich | 1,640 | 12/14/2016 |
2.0.0-bowmore | 1,499 | 12/14/2016 |
2.0.0-alpha2 | 3,356 | 10/7/2016 |
2.0.0-alpha1 | 1,370 | 10/4/2016 |
1.7.0 | 63,212 | 12/19/2016 |
1.6.0 | 1,756 | 12/16/2016 |
1.5.1 | 4,961 | 12/13/2016 |
1.5.0 | 1,816 | 12/8/2016 |
1.5.0-beta1 | 1,374 | 12/2/2016 |
1.4.0 | 4,098 | 9/18/2016 |
1.3.0 | 1,809 | 8/30/2016 |
1.2.1 | 2,608 | 7/29/2016 |
1.2.0 | 4,044 | 7/19/2016 |
1.1.1 | 1,744 | 7/17/2016 |
1.1.0 | 2,173 | 7/8/2016 |
1.0.0 | 8,472 | 4/28/2016 |