Upravit

Sdílet prostřednictvím


SecurityTokenManager.CreateSecurityTokenProvider 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 ^ tokenRequirement);
public abstract System.IdentityModel.Selectors.SecurityTokenProvider CreateSecurityTokenProvider (System.IdentityModel.Selectors.SecurityTokenRequirement tokenRequirement);
abstract member CreateSecurityTokenProvider : System.IdentityModel.Selectors.SecurityTokenRequirement -> System.IdentityModel.Selectors.SecurityTokenProvider
Public MustOverride Function CreateSecurityTokenProvider (tokenRequirement As SecurityTokenRequirement) As SecurityTokenProvider

Parameters

tokenRequirement
SecurityTokenRequirement

A SecurityTokenRequirement that specifies the security token requirements.

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