AuthPassword Event
This event is fired on password authentication attempt from a client.
Syntax
type TAuthPasswordEvent = procedure ( Sender: TObject; ConnectionID: Int64; const Username: String; const Password: String; var Accept: Boolean; var ForceChangePassword: Boolean ) of Object;
property OnAuthPassword: TAuthPasswordEvent read FOnAuthPassword write FOnAuthPassword;
Remarks
Parameters Username and Password contain user credentials. If they are correct, set Accept to true. You can request password change by setting ForceChangePassword to true.