Internet Direct (Indy) Version 9.0.1 Beta
|
function DoAuthenticate(AThread: TIdPeerThread; const AUsername: string; const APassword: string): boolean; virtual;
DoAuthenticate requires a procedure assigned to the OnAuthentication event handler, or an exception will be raised.
DoAuthenticate triggers the OnAuthentication event using the specified parameters to perform authentication processing.
DoAuthenticate returns True when authentication is successful, or False when authentication has failed.
DoAuthenticate is called from DoConnect to perform authentication for a new TELNET connection.