最新版 SAML v2.0 for ASP.NET v6 更新於 2023/11/7
SAML for ASP.NET 安全斷言標記語言(SAML)控件是一款工具包。它為SAML 2.0版本單點登陸到ASP.NET應用程式添加了支持。它同樣為SAML斷言的自定義運用而在網絡服務應用程式中使用了SAML斷言安全代符。
Example Projects
Example ASP.NET projects written in C#, with full source code, are included. The examples demonstrate:
- 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
- OWIN ASP.NET Identity integration
High-Level API
A high-level, configuration-driven API provides a very simple to use interface that hides the mechanics of SAML SSO. This makes it easy to add SSO functionality to your web application with just a few lines of code. Configuration changes, including adding support for additional partner identity providers or service providers, may be made with zero code changes.
Initiating SAML SSO from the SP
Initiating SAML SSO from the IdP
Receiving the SAML Response at the SP
Low-Level API
A low-level API provides complete control and flexibility. The API provides accesses to the SAML profiles, protocols, bindings, assertions and metadata. The high-level API is implemented using the low-level API. For most scenarios, the high-level API provides all the control you need in a simpler interface. For those situations where this isn’t enough, the low-level API is available.
SAML v2.0 SPECIFICATION COMPLIANCE
SAML Profiles
|
SAML Assertions
|
SAML Protocols
|
SAML Assertions
|
SAML Bindings
|
SAML Metadata
|
Platform Support
The SAML component supports all .NET framework versions from v2.0 and above. This includes all versions of Visual Studio. Both 32-bit and 64-bit versions of Windows Server and Desktop are supported.
SAML for ASP.NET Core
輕量級SAML for ASP.NET Core組件直接插入您的應用程序,支持SAML服務提供商或身份提供商支持。
它已成功針對ADFS,Azure AD,Facebook,Google,IdentityServer4,Office 365,Okta,OneLogin,Ping Identity,Salesforce,Shibboleth等進行了測試。
Example Projects
Example ASP.NET Core projects written in C#, with full source code, are included.
The examples demonstrate:
- 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
SP-Initiated SAML SSO Example
Interoperability
ASP.NET Core example projects are included demonstrating interoperability with:
- ADFS
- Azure AD
- Centrify
- IdentityServer4
- Office 365
- Okta
- OneLogin
- PingOne
- Salesforce
- Shibboleth
- and many more...
SAML API
A high-level, configuration-driven API provides a very simple to use interface that hides the mechanics of SAML SSO. This makes it easy to add SSO functionality to your web application with just a few lines of code. Configuration changes, including adding support for additional partner identity providers or service providers, may be made with zero code changes.
Initiating SAML SSO from the SP
Initiating SAML SSO from the IdP
Receiving the SAML Response at the SP
SAML Middleware
The SAML authentication handler provides SSO support for service provider applications. The SAML middleware provides SSO support for identity provider applications. The middleware approach means even fewer lines of code.
Source Code
For your assurance and convenience, the complete source code for the component is available for purchase.
SAML v2.0 SPECIFICATION COMPLIANCE
SAML Profiles
|
SAML Bindings
|
SAML Protocols
|
SAML Metadata
|
SAML Assertions
|
Platform Support
The SAML component supports all .NET Core framework versions. This includes all versions of Visual Studio. Both 32-bit and 64-bit versions of Windows Server and Desktop are supported.
SAML Suite 包含用於ASP.NET和ASP.NET Core的SAML組件。
輕量級組件直接插入您的應用程序,從而支持SAML服務提供商或身份提供商。
他們已成功針對ADFS,Azure AD,Facebook,Google,IdentityServer4,Office 365,Okta,OneLogin,Ping Identity,Salesforce,Shibboleth等進行了測試。
SAML for ASP.NET | SAML for ASP.NET Core |
|
|
SAML v2.0 SPECIFICATION COMPLIANCE
SAML Profiles
All SAML v2.0 profiles are fully supported, acting as either the identity provider or service provider.
- 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
SAML Protocols
All SAML v2.0 protocols are fully supported.
- Create, modify and access SAML protocol messages
- Serialize SAML messages to and from XML
- Generate and verify XML signatures (SHA-1 and SHA-256) on SAML messages
SAML Bindings
All SAML v2.0 bindings are fully supported.
- HTTP POST
- HTTP Redirect
- HTTP Artifact
- SOAP
- PAOS
- SAML URI
SAML Assertions
SAML v2.0 assertions are fully supported.
- Create, modify and access SAML assertions
- Serialize SAML assertions to and from XML
- Generate and verify XML signatures (SHA-1 and SHA-256) on SAML assertions
- Encrypt and decrypt SAML assertions, attributes and identifiers
SAML Metadata
SAML v2.0 metadata is fully supported.
- Create, modify and access all SAML metadata
- Serialize to and from XML
- Generate and verify XML signatures (SHA-1 and SHA-256) on SAML metadata