Breyta

Deila með


SamlSecurityTokenRequirement Class

Definition

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

public ref class SamlSecurityTokenRequirement
public class SamlSecurityTokenRequirement
type SamlSecurityTokenRequirement = class
Public Class SamlSecurityTokenRequirement
Inheritance
SamlSecurityTokenRequirement

Constructors

SamlSecurityTokenRequirement()

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

SamlSecurityTokenRequirement(XmlElement)

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

Properties

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.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(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(AudienceUriMode, SecurityToken)

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

ToString()

Returns a string that represents the current object.

(Inherited from Object)
ValidateAudienceRestriction(IList<Uri>, IList<Uri>)

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

Applies to

See also