This documentation is archived and is not being maintained.
SecurityTokenManager::CreateSecurityTokenProvider Method
Visual Studio 2010
Gets a security token provider that meets the specified security token requirements.
Assembly: System.IdentityModel (in System.IdentityModel.dll)
public: virtual SecurityTokenProvider^ CreateSecurityTokenProvider( SecurityTokenRequirement^ tokenRequirement ) abstract
Parameters
- tokenRequirement
- Type: System.IdentityModel.Selectors::SecurityTokenRequirement
A SecurityTokenRequirement that specifies the security token requirements.
Return Value
Type: System.IdentityModel.Selectors::SecurityTokenProviderA SecurityTokenProvider that provides security tokens that meet the specified requirements for outgoing SOAP messages.
A SecurityTokenManager class provides types that can provide security tokens for outgoing SOAP messages and authenticate security tokens in incoming SOAP messages. The CreateSecurityTokenProvider(SecurityTokenRequirement) method returns a class that can authenticate security tokens that can provide security tokens that match the criteria specified in the tokenRequirement parameter.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: