Internet Direct (Indy)
Home
PreviousUpNext
RegisterAuthenticationMethod Function

Associates an authentication class reference with a given method name.

Pascal
procedure RegisterAuthenticationMethod(
    MethodName: String; 
    AuthClass: TIdAuthenticationClass
);
Parameters 
Description 
MethodName 
Name that represents the authentication scheme.
 
AuthClass 
Class reference to associate with the specified name. 

RegisterAuthenticationMethod is a procedure that registers the authentication class reference in AuthClass using the scheme name in MethodName. 

RegisterAuthenticationMethod stores the registered class in a list for subsequent access. 

RegisterAuthenticationMethod is called from the initialization section of the unit containing the authentication class.

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.