Internet Direct (Indy)
Home
PreviousUpNext
TIdSASL.IsAuthProtocolAvailable@TStrings

Determines if the current SASL authentication mechanism in included in a list of service names.

Parameters 
Description 
AFeatStrings 
Service names to examine for the current SASL authentication mechanism. 

Boolean - True when the current service name is included in the list.

IsAuthProtocolAvailable is a virtual Boolean function used to indicate the current SASL authentication mechanism is included in the list of service names specified in AFeatStrings. 

IsAuthProtocolAvailable examines the values in AFeatStrings to determine if the current ServiceName is found in the list. IsAuthProtocolAvailable can be used with values like those returned from the SMTP EHLO command. 

When IsAuthProtocolAvailable contains True, the SASL authentication exchange can be performed using the StartAuthenticate, ContinueAuthenticate, and FinishAuthenticate methods in the current object instance.

ServiceName StartAuthenticate ContinueAuthenticate FinishAuthenticate TIdSMTP.UseEHLO TIdSMTP.AuthType

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.