SamlConstants Class

Definition

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

public ref class SamlConstants abstract sealed
public static class SamlConstants
type SamlConstants = class
Public Class SamlConstants
Inheritance
SamlConstants

Remarks

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.

Fields

Prefix

The SAML namespace prefix. This field is constant.

Properties

EmailName

Gets the name of the attribute used to specify that the subject of a SAML assertion is specified as an email address. This field is constant.

EmailNamespace

Gets a URI that states the subject of a SAML assertion is specified as an email 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.

Applies to

See also