Discuss this help topic in SecureBlackbox Forum

TElSimpleSSHClient.OnAuthenticationStart

TElSimpleSSHClient     See also     


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


This event is fired on the very beginning of authentication process.

Declaration

[C#]
    event TSSHAuthenticationStartEvent OnAuthenticationStart;
    delegate void TSSHAuthenticationStartEvent(Object Sender, int SupportedAuths);

[VB.NET]
    Event OnAuthenticationStart As TSSHAuthenticationStartEvent
    Delegate Sub TSSHAuthenticationStartEvent(ByVal Sender As Object, ByVal SupportedAuths As Integer)

[Pascal]
    property OnAuthenticationStart : TSSHAuthenticationStartEvent;
    TSSHAuthenticationStartEvent = procedure (Sender: TObject; SupportedAuths : integer) of object;

[C++]
    void get_OnAuthenticationStart(TSSHAuthenticationStartEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnAuthenticationStart(TSSHAuthenticationStartEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSSHAuthenticationStartEvent)(void * _ObjectData, TObjectHandle Sender, int32_t SupportedAuths);

[PHP]
    TSSHAuthenticationStartEvent|callable|NULL get_OnAuthenticationStart()
    void set_OnAuthenticationStart(TSSHAuthenticationStartEvent|callable|NULL $Value)
    callable TSSHAuthenticationStartEvent(TObject $Sender, integer $SupportedAuths)

[Java]
    TSSHAuthenticationStartEvent getOnAuthenticationStart();
    void setOnAuthenticationStart(TSSHAuthenticationStartEvent Value);
    TSSHAuthenticationStartEvent.Callback OnAuthenticationStart = new TSSHAuthenticationStartEvent.Callback() {
        public void TSSHAuthenticationStartEventCallback(TObject Sender, int SupportedAuths) {
            //...
        }
    }

Parameters

  • SupportedAuths - supported authentication types

Possible authentication types:

Description

    This event is fired on the very beginning of authentication process. Use SupportedAuths parameter to get the list of authentication types supported by server. The authentication type is calculated as bitwise OR operation on masks of types that should be enabled.

See also:     AuthenticationTypes     OnAuthenticationSuccess     OnAuthenticationFailed    

Discuss this help topic in SecureBlackbox Forum