Indy 9
|
TAuthenticationEvent = procedure (AThread: TIdPeerThread; const AUsername, APassword: string; var AAuthenticated: Boolean) of object;
AThread is the peer thread representing the TELNET connection generating the authentication event.
AUsername is the User name supplied for the connection.
APassword is the password supplied for the connection.
AAuthenticated is a variable parameter use to indicate whether the authentication request is successful.
TAuthenticationEvent is used by TIdTelnetServer in the OnAuthentication event handler to allow the server implementation to perform user authentication processing.