Extends the SecurityTokenRequirement class by adding new properties that are useful for issued tokens.
Assembly: System.IdentityModel (in System.IdentityModel.dll)
Thetype exposes the following members.
|CertificateValidator||Gets or sets the X509CertificateValidator that is associated with this token requirement.|
|MapToWindows||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.|
|NameClaimType||Gets or sets the claim type that will be used to generate the FederatedIdentity.Name property.|
|RoleClaimType||Gets or sets the claim type that is used to generate the FederatedIdentity.Roles property.|
|Equals(Object)||Determines whether the specified object is equal to the current object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as the default hash function. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|ShouldEnforceAudienceRestriction||Returns a value that indicates whether Audience Enforcement checks are required for the specified token based on the settings of this .|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
|ValidateAudienceRestriction||Checks the specified list of Audience URIs with the AllowedAudienceUri list.|
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.