SamlSecurityTokenRequirement Members

[Starting with the .NET Framework 4.5, Windows Identity Foundation (WIF) has been fully integrated into the .NET Framework. The version of WIF addressed by this topic, WIF 3.5, is deprecated and should only be used when developing against the .NET Framework 3.5 SP1 or the .NET Framework 4. For more information about WIF in the .NET Framework 4.5, also known as WIF 4.5, see the Windows Identity Foundation documentation in the .NET Framework 4.5 Development Guide.]

Extends SecurityTokenRequirement by adding new properties which are useful for issued tokens.

The following tables list the members exposed by the SamlSecurityTokenRequirement type.

Public Constructors

  Name Description
  SamlSecurityTokenRequirement Overloaded. Initializes a new instance of the SamlSecurityTokenRequirement class.

Top

Public Properties

  Name Description
public property CertificateValidator Gets/sets the X509CertificateValidator associated with this token requirement
public property MapToWindows Determines if the token handler will attempt to map the SAML identity to a Windows identity via the unique principal name (UPN) claim.
public property NameClaimType Gets or sets the Claim Type that will be used to generate the FederatedIdentity.Name property.
public property RoleClaimType Gets the Claim Types that are used to generate the FederatedIdentity.Roles property.
public property UseWindowsTokenService Determines if the token handler will use the Windows Token Service (WTS) when performing S4U-based logon calls.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Equals  (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method ShouldEnforceAudienceRestriction Checks if Audience Enforcement checks are required for the given token based on this SamlSecurityTokenRequirement settings.
public method ToString  (Inherited from Object)
public method ValidateAudienceRestriction Checks the given list of Audience URIs with the AllowedAudienceUri list.

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

Top

See Also

Reference

SamlSecurityTokenRequirement Class
Microsoft.IdentityModel.Tokens Namespace

Copyright © 2008 by Microsoft Corporation. All rights reserved.