Indy 9
TAuthenticationEvent
Unit: IdTelnetServer
Specifies the event type for user authentication in a TELNET connection.
TAuthenticationEvent = procedure (AThread: TIdPeerThread; const AUsername, APassword: string; var AAuthenticated: Boolean) of object;
Unit
IdTelnetServer
Parameters
AAuthenticated
Indicates authentication success.
APassword
Password for the connection.
AThread
Connection generating the event.
AUsername
User name for the connection.
Description
TAuthenticationEvent is an event type used to perform authentication of username and password information provided by a TELNET connection.

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.


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