SecurityTokenManager.CreateSecurityTokenProvider(SecurityTokenRequirement) SecurityTokenManager.CreateSecurityTokenProvider(SecurityTokenRequirement) SecurityTokenManager.CreateSecurityTokenProvider(SecurityTokenRequirement) SecurityTokenManager.CreateSecurityTokenProvider(SecurityTokenRequirement) Method

Definition

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

public:
 abstract System::IdentityModel::Selectors::SecurityTokenProvider ^ CreateSecurityTokenProvider(System::IdentityModel::Selectors::SecurityTokenRequirement ^ requirement);
public abstract System.IdentityModel.Selectors.SecurityTokenProvider CreateSecurityTokenProvider (System.IdentityModel.Selectors.SecurityTokenRequirement requirement);
abstract member CreateSecurityTokenProvider : System.IdentityModel.Selectors.SecurityTokenRequirement -> System.IdentityModel.Selectors.SecurityTokenProvider
Public MustOverride Function CreateSecurityTokenProvider (requirement As SecurityTokenRequirement) As SecurityTokenProvider

Parameters

Returns

A SecurityTokenProvider that provides security tokens that meet the specified requirements for outgoing SOAP messages.

Remarks

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.

Applies to