Internet Direct (Indy)
Home
PreviousUpNext
TIdTelnetServer.OnAuthentication Event

Specifies the event handler for connection authentication.

Pascal
property OnAuthentication: TAuthenticationEvent;
Parameters 
Description 
AContext 
The connection to authenticate.
 
AUsername 
The authentication user name.
 
APassword 
The authentication password.
 
AAuthenticated 
Indicates authentication success. 

OnAuthentication is a TAuthenticationEvent event handler used to respond to authentication event notifications when AUsername and APassword have been submitted by the client connection. 

When AAuthenticated is True, authentication for the client connection was successful. When AAuthenticated is False, authentication has failed, LoginAttempts has been exceeded, or an exception has occurred. 

OnAuthentication is triggered from DoConnect and DoAuthenticate.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.