Indy 9
|
TUserHandler = procedure (ASender: TIdCommand; var Accept: Boolean; Username, Password: string) of object;
An event handler for the TUserHandler event type can be used to access the data store for account identities and credentials to perform authentication for the values in Username and Password. The event handler may also set the value in Accepted to True, to indicate that authentication is successful, or False to indicate that authentication has failed.