Specifies security token requirements.
Assembly: System.IdentityModel (in System.IdentityModel.dll)
Application code typically does not need to use the class, unless a custom security token, security token manager, security token provider, or security token authenticator are created. The 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 obtained 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(SecurityTokenRequirement) method that takes a parameter that can be called to obtain a security token provider that matches the criteria specified in the security token requirement.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003