Indy 9
|
TOnAfterAuthentication = procedure (const AUsername: String; const APassword: String; AAuthenticationResult: Boolean) of object;
TOnAfterAuthentication provides a mechanism for performing user account authentication that is external to a server implementaiton, or to perform additional logging for user account access attempts.
TOnAfterAuthentication is the event type signalled to the TIdUserManager.OnAfterAuthentication event handler. Applications must assign a procedure to the TOnAfterAuthentication event handler to allow responding to the event notification.
Applications can change the value of AAuthenticationResult in the event handler for the TOnAfterAuthentication event to indicate if the authentication attempt is successful.