ServiceModelSecurityTokenRequirement Class
Assembly: System.ServiceModel (in system.servicemodel.dll)
'Declaration Public MustInherit Class ServiceModelSecurityTokenRequirement Inherits SecurityTokenRequirement 'Usage Dim instance As ServiceModelSecurityTokenRequirement
public abstract class ServiceModelSecurityTokenRequirement extends SecurityTokenRequirement
public abstract class ServiceModelSecurityTokenRequirement extends SecurityTokenRequirement
Not applicable.
The derived class is used by a security token manager to specify what is required of a security token, such as the key size, key type, and how the key can be used. When a security token can be identified that matches the specified criteria, a SecurityTokenProvider and SecurityTokenAuthenticator can be created to provide security tokens for outgoing SOAP messages and to authenticate security tokens for incoming SOAP messages, respectively. For example, the default security token manager for outgoing SOAP messages has the CreateSecurityTokenProvider method that takes a SecurityTokenRequirement parameter that can be called to obtain a security token provider that matches the security token provider.
This class's base class, SecurityTokenRequirement, contains a dictionary, Properties, that maps property names to their values. This class has numerous properties whose name ends in the word "Property". These properties return a string, which is the key used to get or set the corresponding value from the dictionary. So for example, AuditLogLocationProperty is the key for the value of the AuditLogLocation property.
System.IdentityModel.Selectors.SecurityTokenRequirement
System.ServiceModel.Security.Tokens.ServiceModelSecurityTokenRequirement
System.ServiceModel.Security.Tokens.InitiatorServiceModelSecurityTokenRequirement
System.ServiceModel.Security.Tokens.RecipientServiceModelSecurityTokenRequirement
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.