IdentityModel.OidcClient 6.0.0

dotnet add package IdentityModel.OidcClient --version 6.0.0                
NuGet\Install-Package IdentityModel.OidcClient -Version 6.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="IdentityModel.OidcClient" Version="6.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IdentityModel.OidcClient --version 6.0.0                
#r "nuget: IdentityModel.OidcClient, 6.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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".

openid_certified

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 812,141 4/9/2024
6.0.0-preview.3 584 4/5/2024
6.0.0-preview.2 2,409 3/14/2024
6.0.0-preview.1 599 2/27/2024
5.3.0-preview.1 41,867 10/10/2023
5.2.1 20,696,667 1/3/2023
5.2.0 617,167 12/2/2022
5.1.0 966,524 10/10/2022
5.0.2 1,203,744 8/4/2022
5.0.0 1,376,529 12/13/2021
5.0.0-preview.2 4,396 10/18/2021
5.0.0-preview.1 97,003 7/14/2021
4.0.0 10,956,417 5/11/2021
4.0.0-preview.8 18,213 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,781 12/2/2019
3.1.2 21,919,866 12/2/2019
3.1.1 14,571 11/27/2019
3.1.0 65,606 11/5/2019
3.0.1 138,466 10/23/2019
3.0.0 23,614 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,564 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,730 8/24/2019
2.9.0 792,176 10/31/2018
2.8.1 316,031 7/12/2018
2.8.0 7,186 7/2/2018
2.7.0 179,911 5/31/2018
2.6.0 74,048 4/12/2018
2.6.0-preview-1 1,461 4/12/2018
2.5.1 14,288 3/13/2018
2.5.0 2,407 3/12/2018
2.4.0 52,360 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 15,022 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,593 5/31/2017
2.1.2 55,034 3/30/2017
2.1.1 5,308 3/24/2017
2.1.0 1,955 3/13/2017
2.0.1 13,115 3/1/2017
2.0.0 50,861 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,774 12/19/2016
1.6.0 1,772 12/16/2016
1.5.1 4,977 12/13/2016
1.5.0 1,832 12/8/2016
1.5.0-beta1 1,384 12/2/2016
1.4.0 4,127 9/18/2016
1.3.0 1,825 8/30/2016
1.2.1 2,626 7/29/2016
1.2.0 4,060 7/19/2016
1.1.1 1,760 7/17/2016
1.1.0 2,189 7/8/2016
1.0.0 8,936 4/28/2016