Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SecurityTokenManager::CreateSecurityTokenProvider Method (SecurityTokenRequirement^)

 

Gets a security token provider that meets the specified security token requirements.

Namespace:   System.IdentityModel.Selectors
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::SecurityTokenProvider^

A 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.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft