Sgnl.IdentityModel.OidcClient
6.0.2
dotnet add package Sgnl.IdentityModel.OidcClient --version 6.0.2
NuGet\Install-Package Sgnl.IdentityModel.OidcClient -Version 6.0.2
<PackageReference Include="Sgnl.IdentityModel.OidcClient" Version="6.0.2" />
paket add Sgnl.IdentityModel.OidcClient --version 6.0.2
#r "nuget: Sgnl.IdentityModel.OidcClient, 6.0.2"
// Install Sgnl.IdentityModel.OidcClient as a Cake Addin #addin nuget:?package=Sgnl.IdentityModel.OidcClient&version=6.0.2 // Install Sgnl.IdentityModel.OidcClient as a Cake Tool #tool nuget:?package=Sgnl.IdentityModel.OidcClient&version=6.0.2
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 is compatible. 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. |
-
.NETFramework 4.8
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
- Sgnl.IdentityModel (>= 7.0.2)
-
.NETStandard 2.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
- Sgnl.IdentityModel (>= 7.0.2)
- System.Text.Json (>= 8.0.5)
-
net6.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
- Sgnl.IdentityModel (>= 7.0.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Sgnl.IdentityModel.OidcClient:
Package | Downloads |
---|---|
Sgnl.Framework
SIGNAL framework |
GitHub repositories
This package is not used by any popular GitHub repositories.