Indy 9 | Content | Index | Reference

RegisterAuthenticationMethod
Unit: IdAuthentication
Associates an authentication class instance with a given method name.

    procedure RegisterAuthenticationMethod(MethodName: String; AuthClass: TIdAuthenticationClass);

Unit
IdAuthentication
Parameters
MethodName: String
Name that represents the authentication scheme.
AuthClass: TIdAuthenticationClass
Class instance to associate with the specified name.
Description
RegisterAuthenticationMethod is a procedure that registers the authentication class instance 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.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.