AuthFailed Event
Fires when a single authentication attempt is failed.
Syntax
ANSI (Cross Platform) virtual int FireAuthFailed(SSHClientAuthFailedEventParams *e);
typedef struct {
int AuthenticationType; int reserved; } SSHClientAuthFailedEventParams; Unicode (Windows) virtual INT FireAuthFailed(SSHClientAuthFailedEventParams *e);
typedef struct {
INT AuthenticationType; INT reserved; } SSHClientAuthFailedEventParams;
- (void)onAuthFailed:(int)authenticationType;
#define EID_SSHCLIENT_AUTHFAILED 2 virtual INT SECUREBLACKBOXLITE_CALL FireAuthFailed(INT &iAuthenticationType);
Remarks
This event is fired each time a single authentication attempt fails. AuthType parameter specifies the type of authentication.
As SSH may try a number of authentication attempts of different types or with different parameters (such as public keys) during one session, this event may be fired more than once. It is not critical and may not lead to closing of the connection.