ComponentSpace.Saml2.Net.Examples 7.2.0

Prefix Reserved
dotnet add package ComponentSpace.Saml2.Net.Examples --version 7.2.0                
NuGet\Install-Package ComponentSpace.Saml2.Net.Examples -Version 7.2.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.Examples" Version="7.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ComponentSpace.Saml2.Net.Examples --version 7.2.0                
#r "nuget: ComponentSpace.Saml2.Net.Examples, 7.2.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.Examples as a Cake Addin
#addin nuget:?package=ComponentSpace.Saml2.Net.Examples&version=7.2.0

// Install ComponentSpace.Saml2.Net.Examples as a Cake Tool
#tool nuget:?package=ComponentSpace.Saml2.Net.Examples&version=7.2.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);
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
7.2.0 105 11/28/2024
7.1.0 124 7/25/2024
7.0.0 238 2/29/2024
6.5.0 298 11/8/2023
6.4.0 285 9/7/2023
6.3.0 236 5/19/2023
6.2.0 299 3/15/2023
6.1.0 391 1/12/2023
6.0.0 377 11/17/2022
5.4.0 432 9/7/2022
5.3.0 470 7/5/2022
5.2.0 555 4/26/2022
5.1.0 441 2/9/2022
5.0.0 393 10/14/2021
4.8.0 430 5/28/2021
4.7.0 643 1/20/2021
4.6.0 526 11/19/2020
4.5.0 520 10/20/2020
4.4.0 539 9/7/2020
4.3.0 549 5/7/2020
4.2.0 595 3/20/2020
4.1.0 568 2/22/2020
4.0.0 635 1/8/2020
3.4.0 723 6/12/2019
3.3.0 718 4/2/2019
3.2.0 797 2/15/2019
3.1.0 970 12/4/2018