ComponentSpace.Saml2
5.1.0
Prefix Reserved
dotnet add package ComponentSpace.Saml2 --version 5.1.0
NuGet\Install-Package ComponentSpace.Saml2 -Version 5.1.0
<PackageReference Include="ComponentSpace.Saml2" Version="5.1.0" />
paket add ComponentSpace.Saml2 --version 5.1.0
#r "nuget: ComponentSpace.Saml2, 5.1.0"
// Install ComponentSpace.Saml2 as a Cake Addin #addin nuget:?package=ComponentSpace.Saml2&version=5.1.0 // Install ComponentSpace.Saml2 as a Cake Tool #tool nuget:?package=ComponentSpace.Saml2&version=5.1.0
SAML for ASP.NET Core
ComponentSpace.Saml2 enables SAML v2.0 identity provider (IdP) and service provider (SP) single sign-on (SSO) in ASP.NET Core applications.
Supports:
- Acting as the SAML service provider (SP)
- Acting as the SAML identity provider (IdP)
- Service provider initiated SSO
- Identity provider initiated SSO
- Setting and retrieving SAML attributes
- Logout
- SAML metadata creation and consumption
- ASP.NET Core Identity integration
Profiles:
- Web browser single sign-on (identity provider and service provider initiated)
- Single logout
- Artifact resolution
- Identity provider discovery
- Authentication, attribute and assertion query
- Name identifier management and mapping
Licensing
ComponentSpace.Saml2 is a fully functional evaluation version of a commercial product. The trial period is 30 days.
A product license is available for purchase.
Examples
Example ASP.NET Core projects are available that demonstrate the simple to use SAML API and accompanying SAML configuration.
Initiating SSO from the SP
// SP-initiated SSO.
await _samlServiceProvider.InitiateSsoAsync(partnerName, returnUrl);
Initiating SSO from the IdP
// IdP-initiated SSO.
await _samlIdentityProvider.InitiateSsoAsync(partnerName, userName, attributes, relayState);
Receiving the SAML Response
// SP or IdP-initiated SSO.
var ssoResult = await _samlServiceProvider.ReceiveSsoAsync();
Links
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 is compatible. 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 | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- Microsoft.Extensions.Caching.Memory (>= 3.1.32)
- Microsoft.Extensions.Http (>= 3.1.32)
- Microsoft.Extensions.Logging (>= 3.1.32)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 3.1.32)
- Newtonsoft.Json (>= 13.0.3)
- System.Security.Cryptography.Xml (>= 4.7.1)
-
net6.0
- Microsoft.Extensions.Caching.Memory (>= 6.0.1)
- Microsoft.Extensions.Http (>= 6.0.0)
- Microsoft.Extensions.Logging (>= 6.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 6.0.0)
- Newtonsoft.Json (>= 13.0.3)
- System.Security.Cryptography.Xml (>= 8.0.1)
-
net8.0
- Microsoft.Extensions.Caching.Memory (>= 8.0.0)
- Microsoft.Extensions.Http (>= 8.0.0)
- Microsoft.Extensions.Logging (>= 8.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 8.0.0)
- Newtonsoft.Json (>= 13.0.3)
- System.Security.Cryptography.Xml (>= 8.0.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on ComponentSpace.Saml2:
Package | Downloads |
---|---|
ComponentSpace.Saml2.Configuration.Database
Adds support for storing SAML configuration in a database using the entity framework. This is a fully functional evaluation version of a commercial product. The trial period is 30 days. |
|
ComponentSpace.Saml2.XmlSecurity.RsaOaep
Adds support for RSA-OAEP XML key encryption. This is a fully functional evaluation version of a commercial product. The trial period is 30 days. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
5.1.0 | 8,535 | 7/25/2024 |
5.0.0 | 15,474 | 2/29/2024 |
4.10.0 | 17,354 | 11/8/2023 |
4.9.0 | 3,503 | 9/7/2023 |
4.8.0 | 33,533 | 5/19/2023 |
4.7.0 | 5,012 | 3/15/2023 |
4.6.0 | 5,819 | 1/12/2023 |
4.5.0 | 7,750 | 11/17/2022 |
4.4.0 | 23,366 | 9/7/2022 |
4.3.0 | 8,055 | 7/5/2022 |
4.2.0 | 6,912 | 4/26/2022 |
4.1.0 | 11,156 | 2/9/2022 |
4.0.0 | 29,243 | 10/14/2021 |
3.7.0 | 6,058 | 8/6/2021 |
3.6.0 | 20,040 | 5/28/2021 |
3.5.0 | 9,197 | 3/25/2021 |
3.4.0 | 32,744 | 1/20/2021 |
3.3.0 | 13,739 | 11/19/2020 |
3.2.0 | 13,494 | 10/20/2020 |
3.1.0 | 8,212 | 9/7/2020 |
3.0.0 | 22,407 | 5/7/2020 |
2.9.0 | 12,889 | 3/20/2020 |
2.8.0 | 4,762 | 2/22/2020 |
2.7.0 | 18,339 | 1/8/2020 |
2.6.0 | 31,937 | 10/7/2019 |
2.5.0 | 17,566 | 6/12/2019 |
2.4.0 | 24,090 | 4/2/2019 |
2.3.0 | 84,499 | 2/15/2019 |
2.2.0 | 79,377 | 12/5/2018 |
2.1.0 | 5,558 | 10/17/2018 |
2.0.6 | 6,500 | 8/7/2018 |
2.0.5 | 5,946 | 5/24/2018 |
2.0.4 | 4,028 | 3/2/2018 |
2.0.3 | 14,946 | 12/22/2017 |
2.0.2 | 16,596 | 11/2/2017 |
2.0.1 | 2,446 | 9/24/2017 |
2.0.0 | 2,765 | 9/12/2017 |
1.0.5 | 2,876 | 8/28/2017 |
1.0.4 | 1,585 | 8/21/2017 |
1.0.3 | 2,063 | 7/18/2017 |
1.0.2 | 1,781 | 6/30/2017 |
1.0.1 | 2,166 | 5/24/2017 |
1.0.0 | 9,948 | 3/22/2017 |