SamlConstants Class

 

Represents a set of constants that are used to set properties of a SamlSecurityToken security token. This class cannot be inherited.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

System.Object
  System.IdentityModel.Tokens.SamlConstants

public static class SamlConstants

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticEmailName

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.

System_CAPS_pubpropertySystem_CAPS_staticEmailNamespace

Gets a URI that states the subject of a SAML assertion is specified as an e-mail address. This field is constant.

System_CAPS_pubpropertySystem_CAPS_staticHolderOfKey

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.

System_CAPS_pubpropertySystem_CAPS_staticMajorVersionValue

Gets the major version of the SAML specification that SamlSecurityToken security tokens conform to. This field is constant.

System_CAPS_pubpropertySystem_CAPS_staticMinorVersionValue

Gets the minor version of the SAML specification used by SamlSecurityToken security tokens. This field is constant.

System_CAPS_pubpropertySystem_CAPS_staticNamespace

Gets the XML namespace in which SAML assertions are defined. This field is constant.

System_CAPS_pubpropertySystem_CAPS_staticSenderVouches

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.

System_CAPS_pubpropertySystem_CAPS_staticUserName

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.

System_CAPS_pubpropertySystem_CAPS_staticUserNameNamespace

Gets a URI that states the subject of a SAML assertion is specified using a Windows domain account. This field is constant.

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticPrefix

The SAML namespace prefix. 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.

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: