Topic Path: Symbol Reference > Functions > RegisterAuthenticationMethod Function
ContentsIndexHome
PreviousUpNext
RegisterAuthenticationMethod Function

Associates an authentication class reference with a given method name.

File
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.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.