RegisterAuthenticationMethod
Associates an authentication class instance with a given method name.
Unit
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.