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                
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 (86)

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

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.

IdentityModel.OidcClient.IdentityTokenValidator

Identity token validator for IdentityModeo.OidcClient based on the Microsoft JWT handler

CUSTIS.NetCore.AppHost

Инструменты для хостинга приложения

GitHub repositories (17)

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
Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
enkodellc/blazorboilerplate
Blazor Boilerplate / Starter Template with MudBlazor
dotnet/MobileBlazorBindings
Experimental Mobile Blazor Bindings - Build native and hybrid mobile apps with Blazor
abpframework/abp-samples
Sample solutions built with the ABP Framework
Version Downloads Last updated
6.0.0 155,939 4/9/2024
6.0.0-preview.3 420 4/5/2024
6.0.0-preview.2 1,310 3/14/2024
6.0.0-preview.1 477 2/27/2024
5.3.0-preview.1 24,105 10/10/2023
5.2.1 12,663,095 1/3/2023
5.2.0 533,629 12/2/2022
5.1.0 816,325 10/10/2022
5.0.2 1,109,924 8/4/2022
5.0.0 1,232,377 12/13/2021
5.0.0-preview.2 4,339 10/18/2021
5.0.0-preview.1 81,309 7/14/2021
4.0.0 9,868,954 5/11/2021
4.0.0-preview.8 18,113 3/11/2021
4.0.0-preview.7 5,604 2/12/2021
4.0.0-preview.6 3,109 1/13/2021
4.0.0-preview.5 593 1/7/2021
4.0.0-preview.4 8,552 11/23/2020
4.0.0-preview.3 16,798 4/24/2020
4.0.0-preview.2 2,108 2/20/2020
4.0.0-preview.1.3 8,515 12/2/2019
3.1.2 20,056,520 12/2/2019
3.1.1 11,636 11/27/2019
3.1.0 63,337 11/5/2019
3.0.1 129,810 10/23/2019
3.0.0 21,122 10/20/2019
3.0.0-preview.3 2,594 9/20/2019
3.0.0-preview.2 1,464 9/9/2019
3.0.0-preview.1.15 1,412 7/9/2019
3.0.0-preview.1.12 14,087 6/27/2019
3.0.0-preview.1.3 5,879 5/9/2019
3.0.0-bunnahabhain 1,775 1/6/2019
3.0.0-bruichladdich 6,016 12/17/2018
3.0.0-bowmore 1,820 12/4/2018
3.0.0-arran 1,412 12/4/2018
2.9.1 383,738 8/24/2019
2.9.0 747,475 10/31/2018
2.8.1 304,356 7/12/2018
2.8.0 6,744 7/2/2018
2.7.0 174,031 5/31/2018
2.6.0 69,597 4/12/2018
2.6.0-preview-1 1,376 4/12/2018
2.5.1 13,255 3/13/2018
2.5.0 1,956 3/12/2018
2.4.0 51,245 1/5/2018
2.4.0-preview3 1,355 12/30/2017
2.4.0-preview2 1,434 12/27/2017
2.4.0-preview1 1,365 12/23/2017
2.3.0 14,249 10/30/2017
2.3.0-preview3 1,320 10/29/2017
2.3.0-preview2 1,279 10/29/2017
2.3.0-preview1 1,309 10/18/2017
2.2.0 50,609 5/31/2017
2.1.2 53,677 3/30/2017
2.1.1 5,057 3/24/2017
2.1.0 1,887 3/13/2017
2.0.1 12,989 3/1/2017
2.0.0 49,317 2/13/2017
2.0.0-dalwhinnie 1,404 1/30/2017
2.0.0-craigellachie 1,424 1/23/2017
2.0.0-cragganmore 1,469 1/16/2017
2.0.0-caolila 1,445 1/13/2017
2.0.0-bunnahabhain 1,484 1/11/2017
2.0.0-bruichladdich 1,593 12/14/2016
2.0.0-bowmore 1,411 12/14/2016
2.0.0-alpha2 3,309 10/7/2016
2.0.0-alpha1 1,325 10/4/2016
1.7.0 60,223 12/19/2016
1.6.0 1,713 12/16/2016
1.5.1 4,924 12/13/2016
1.5.0 1,775 12/8/2016
1.5.0-beta1 1,336 12/2/2016
1.4.0 4,045 9/18/2016
1.3.0 1,772 8/30/2016
1.2.1 2,569 7/29/2016
1.2.0 4,006 7/19/2016
1.1.1 1,700 7/17/2016
1.1.0 2,131 7/8/2016
1.0.0 7,582 4/28/2016