type
TScCheckUserKey = procedure(ClientInfo: TScSSHClientInfo; Key: TScKey; var Accept: Boolean) of object;
property OnCheckUserKey: TScCheckUserKey;
Description
The OnCheckUserKey event arises when the authentication by the public key is demanded on the server. The server previously verifies the given user and key 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; |
• | Key - a user public key 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