SamlSecurityTokenRequirement Class

.NET Framework (current version)
 

Extends the SecurityTokenRequirement class by adding new properties that are useful for issued tokens.

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

System.Object
  System.IdentityModel.Tokens.SamlSecurityTokenRequirement

Public Class SamlSecurityTokenRequirement

NameDescription
System_CAPS_pubmethodSamlSecurityTokenRequirement()

Initializes a new instance of the SamlSecurityTokenRequirement class to default values.

System_CAPS_pubmethodSamlSecurityTokenRequirement(XmlElement)

Initializes a new instance of the SamlSecurityTokenRequirement class from the specified XML.

NameDescription
System_CAPS_pubpropertyCertificateValidator

Gets or sets the X509CertificateValidator that is associated with this token requirement.

System_CAPS_pubpropertyMapToWindows

Gets or sets a value that indicates whether the token handler will attempt to map the SAML identity to a Windows identity by using the unique principal name (UPN) claim.

System_CAPS_pubpropertyNameClaimType

Gets or sets the claim type that will be used to generate the FederatedIdentity.Name property.

System_CAPS_pubpropertyRoleClaimType

Gets or sets the claim type that is used to generate the FederatedIdentity.Roles property.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodShouldEnforceAudienceRestriction(AudienceUriMode, SecurityToken)

Returns a value that indicates whether Audience Enforcement checks are required for the specified token based on the settings of this SamlSecurityTokenRequirement.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodValidateAudienceRestriction(IList(Of Uri), IList(Of Uri))

Checks the specified list of Audience URIs with the AllowedAudienceUri list.

.NET Framework
Available since 4.5

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: