This documentation is archived and is not being maintained.
SamlConstants Class
Visual Studio 2010
Represents a set of constants that are used to set properties of a SamlSecurityToken security token. This class cannot be inherited.
Assembly: System.IdentityModel (in System.IdentityModel.dll)
The SamlConstants type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | EmailName | Gets the name of the attribute used to specify that the subject of a SAML assertion is specified as an e-mail address. This field is constant. |
![]() ![]() | EmailNamespace | Gets a URI that states the subject of a SAML assertion is specified as an e-mail address. This field is constant. |
![]() ![]() | HolderOfKey | Gets a URI that specifies that the recipient of a SAML security token should use the <ds:KeyInfo> element to confirm that the SOAP message was sent by the SAML assertion's subject. This field is constant. |
![]() ![]() | MajorVersionValue | Gets the major version of the SAML specification that SamlSecurityToken security tokens conform to. This field is constant. |
![]() ![]() | MinorVersionValue | Gets the minor version of the SAML specification used by SamlSecurityToken security tokens. This field is constant. |
![]() ![]() | Namespace | Gets the XML namespace in which SAML assertions are defined. This field is constant. |
![]() ![]() | SenderVouches | Gets a URI that specifies that additional information is not available for a recipient of a SAML security token to confirm that the SOAP message was sent by the SAML assertion's subject. This field is constant. |
![]() ![]() | UserName | Gets the name of the attribute used to specify that the subject of a SAML assertion is specified as a Windows domain account. This field is constant. |
![]() ![]() | UserNameNamespace | Gets a URI that states the subject of a SAML assertion is specified using a Windows domain account. This field is constant. |
Use the SamlConstants class to set properties of a SAML assertion. Use the EmailNamespace and UserNameNamespace properties to set the NameFormat property. Use the HolderOfKey and SenderVouches to set the ConfirmationMethods property.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
