ComponentSpace.Saml2.Net 7.0.0

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
dotnet add package ComponentSpace.Saml2.Net --version 7.0.0
NuGet\Install-Package ComponentSpace.Saml2.Net -Version 7.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="ComponentSpace.Saml2.Net" Version="7.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ComponentSpace.Saml2.Net --version 7.0.0
#r "nuget: ComponentSpace.Saml2.Net, 7.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 ComponentSpace.Saml2.Net as a Cake Addin
#addin nuget:?package=ComponentSpace.Saml2.Net&version=7.0.0

// Install ComponentSpace.Saml2.Net as a Cake Tool
#tool nuget:?package=ComponentSpace.Saml2.Net&version=7.0.0

SAML for ASP.NET

ComponentSpace.Saml2.Net enables SAML v2.0 identity provider (IdP) and service provider (SP) single sign-on (SSO) in ASP.NET 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 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.Net 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 projects are available that demonstrate the simple to use SAML API and accompanying SAML configuration.

Initiating SSO from the SP

// SP-initiated SSO.
SAMLServiceProvider.InitiateSSO(Response, returnUrl, partnerIdP);

Initiating SSO from the IdP

// IdP-initiated SSO.
SAMLIdentityProvider.InitiateSSO(Response, userName, attributes, targetUrl, partnerSP); 

Receiving the SAML Response

// SP or IdP-initiated SSO.
SAMLServiceProvider.ReceiveSSO(
  Request, 
  out isInResponseTo, 
  out partnerIdP, 
  out authnContext, 
  out userName, 
  out attributes, 
  out targetUrl);
Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on ComponentSpace.Saml2.Net:

Package Downloads
ComponentSpace.Saml2.Net.Extension.AesGcm The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Adds support for the following data encryption algorithms: http://www.w3.org/2009/xmlenc11#aes128-gcm http://www.w3.org/2009/xmlenc11#aes192-gcm http://www.w3.org/2009/xmlenc11#aes256-gcm This is a fully functional evaluation version of a commercial product. The trial period is 30 days.

ComponentSpace.Saml2.Net.Extension.RsaOaep The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Adds support for the following key encryption algorithm: http://www.w3.org/2009/xmlenc11#rsa-oaep 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
7.0.0 1,344 2/29/2024
6.5.0 8,705 11/8/2023
6.4.0 602 9/7/2023
6.3.0 2,147 5/19/2023
6.2.0 750 3/15/2023
6.1.0 31,539 1/12/2023
6.0.0 916 11/17/2022
5.4.0 5,151 9/7/2022
5.3.0 29,457 7/5/2022
5.2.0 1,448 4/26/2022
5.1.0 1,851 2/9/2022
5.0.0 18,341 10/14/2021
4.8.0 36,349 5/28/2021
4.7.0 48,325 1/20/2021
4.6.0 817 11/19/2020
4.5.0 5,579 10/20/2020
4.4.0 1,424 9/7/2020
4.3.0 8,538 5/7/2020
4.2.0 866 3/20/2020
4.1.0 983 2/22/2020
4.0.0 3,074 1/8/2020
3.5.0 4,180 10/7/2019
3.4.0 6,980 6/12/2019
3.3.0 2,006 4/2/2019
3.2.0 5,097 2/15/2019
3.1.0 10,139 12/7/2018
3.0.0 5,857 10/17/2018