SecurityTokenManager.CreateSecurityTokenAuthenticator(SecurityTokenRequirement, SecurityTokenResolver) SecurityTokenManager.CreateSecurityTokenAuthenticator(SecurityTokenRequirement, SecurityTokenResolver) SecurityTokenManager.CreateSecurityTokenAuthenticator(SecurityTokenRequirement, SecurityTokenResolver) SecurityTokenManager.CreateSecurityTokenAuthenticator(SecurityTokenRequirement, SecurityTokenResolver) Method

Definition

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

public:
 abstract System::IdentityModel::Selectors::SecurityTokenAuthenticator ^ CreateSecurityTokenAuthenticator(System::IdentityModel::Selectors::SecurityTokenRequirement ^ requirement, [Runtime::InteropServices::Out] System::IdentityModel::Selectors::SecurityTokenResolver ^ % resolver);
public abstract System.IdentityModel.Selectors.SecurityTokenAuthenticator CreateSecurityTokenAuthenticator (System.IdentityModel.Selectors.SecurityTokenRequirement requirement, out System.IdentityModel.Selectors.SecurityTokenResolver resolver);
abstract member CreateSecurityTokenAuthenticator : System.IdentityModel.Selectors.SecurityTokenRequirement *  -> System.IdentityModel.Selectors.SecurityTokenAuthenticator
Public MustOverride Function CreateSecurityTokenAuthenticator (requirement As SecurityTokenRequirement, ByRef resolver As SecurityTokenResolver) As SecurityTokenAuthenticator

Parameters

outOfBandTokenResolver
SecurityTokenResolver SecurityTokenResolver SecurityTokenResolver SecurityTokenResolver

A SecurityTokenResolver that determines the security token that matches the specified security token requirements.

Returns

A SecurityTokenAuthenticator that authenticates security tokens in incoming SOAP messages that meet the specified requirements.

Remarks

A SecurityTokenManager class provides types that can provide security tokens for outgoing SOAP messages and authenticate security tokens in incoming SOAP messages. The CreateSecurityTokenAuthenticator(SecurityTokenRequirement, SecurityTokenResolver) method returns a class that can authenticate security tokens that match the criteria specified in the tokenRequirement parameter.

Applies to