Discuss this help topic in SecureBlackbox Forum

TElSimpleSFTPClient.OnAuthenticationFailed

TElSimpleSFTPClient     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


This event is fired when a single authentication attempt is failed

Declaration

[C#]
    event TSSHAuthenticationFailedEvent OnAuthenticationFailed;
    delegate void TSSHAuthenticationFailedEvent(Object Sender, int AuthenticationType);

[VB.NET]
    Event OnAuthenticationFailed As TSSHAuthenticationFailedEvent
    Delegate Sub TSSHAuthenticationFailedEvent(ByVal Sender As Object, ByVal AuthenticationType As Integer)

[Pascal]
    property OnAuthenticationFailed: TSSHAuthenticationFailedEvent;
    TSSHAuthenticationFailedEvent = procedure (Sender: TObject; AuthenticationType : integer) of object;

[C++]
    void get_OnAuthenticationFailed(TSSHAuthenticationFailedEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnAuthenticationFailed(TSSHAuthenticationFailedEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSSHAuthenticationFailedEvent)(void * _ObjectData, TObjectHandle Sender, int32_t AuthenticationType);

[PHP]
    TSSHAuthenticationFailedEvent|callable|NULL get_OnAuthenticationFailed()
    void set_OnAuthenticationFailed(TSSHAuthenticationFailedEvent|callable|NULL $Value)
    callable TSSHAuthenticationFailedEvent(TObject $Sender, integer $AuthenticationType)

[Java]
    TSSHAuthenticationFailedEvent getOnAuthenticationFailed();
    void setOnAuthenticationFailed(TSSHAuthenticationFailedEvent Value);
    TSSHAuthenticationFailedEvent.Callback OnAuthenticationFailed = new TSSHAuthenticationFailedEvent.Callback() {
        public void TSSHAuthenticationFailedEventCallback(TObject Sender, int AuthenticationType) {
            //...
        }
    }

Parameters

  • AuthenticationType - The type of authentication that failed

Description

    This event is fired when the single authentication attempt is failed. As SSH may try a number of authentication attempts of different types or with different parameters (as public keys), during one session, this event may be not critical and may not lead to the closing of the connection.

See also:     OnAuthenticationSuccess    

Discuss this help topic in SecureBlackbox Forum