type

 TScCheckUserPass = procedure(ClientInfo: TScSSHClientInfo; const Password: string; var Accept: Boolean) of object;

 

property OnCheckUserPass: TScCheckUserPass;

 

Description

The OnCheckUserPass event arises when the password authentication is demanded on the server. The server previously verifies the given user and password in the storage and specifies the value for the Accept parameter. If you want to grant or deny access for the current connection attempt, you should change the Accept parameter value.

 

Parameters:

ClientInfo - the information about the user to be authenticated;
Password - a user password to be verified;
Accept - if Accept is set to True, the user is allowed to connect to the server, otherwise the user is not allowed to connect to the server.

 

See also

TScUser

 

SecureBridge Components, Copyright © 2007-2024 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support