Discuss this help topic in SecureBlackbox Forum

TElSSHServer.OnAuthFailed

TElSSHServer     See also     


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


This event is fired when certain authentication attempt failed.

Declaration

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

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

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

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

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

[Java]
    TSSHAuthenticationFailedEvent getOnAuthFailed();
    void setOnAuthFailed(TSSHAuthenticationFailedEvent Value);
    TSSHAuthenticationFailedEvent.Callback OnAuthFailed = new TSSHAuthenticationFailedEvent.Callback() {
        public void TSSHAuthenticationFailedEventCallback(TObject Sender, int AuthenticationType) {
            //...
        }
    }

Parameters

  • AuthenticationType - The type of authentication that failed

Description

    This event is fired when certain authentication attempt failed. This even will be fired if previous OnAuthAttempt event handler returned False as value of Accept parameter.

See also:     OnAuthAttempt    

Discuss this help topic in SecureBlackbox Forum