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

Parameters

tokenRequirementrequirement
SecurityTokenRequirement

A SecurityTokenRequirement that specifies the security token requirements.

Returns

SecurityTokenProvider

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