Discuss this help topic in SecureBlackbox Forum

TElSSHBaseClient.OnAuthenticationAttempt

TElSSHBaseClient     See also     


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


This event is fired when an authentication attempt is performed.

Declaration

[C#]
    event TSSHAuthenticationAttemptEvent OnAuthenticationAttempt;
    delegate void TSSHAuthenticationAttemptEvent(Object Sender, int AuthType, Object AuthParam);

[VB.NET]
    Event OnAuthenticationAttempt As TSSHAuthenticationAttemptEvent
    Delegate Sub TSSHAuthenticationAttemptEvent(ByVal Sender As Object, ByVal AuthType As Integer, ByVal AuthParam As Object)

[Pascal]
    property OnAuthenticationAttempt : TSSHAuthenticationAttemptEvent;
    TSSHAuthenticationAttemptEvent = procedure(Sender : TObject; AuthType : integer; AuthParam : TObject) of object;

[C++]
    void get_OnAuthenticationAttempt(TSSHAuthenticationAttemptEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnAuthenticationAttempt(TSSHAuthenticationAttemptEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSSHAuthenticationAttemptEvent)(void * _ObjectData, TObjectHandle Sender, int32_t AuthType, TObjectHandle AuthParam);

[PHP]
    TSSHAuthenticationAttemptEvent|callable|NULL get_OnAuthenticationAttempt()
    void set_OnAuthenticationAttempt(TSSHAuthenticationAttemptEvent|callable|NULL $Value)
    callable TSSHAuthenticationAttemptEvent(TObject $Sender, integer $AuthType, TObject $AuthParam)

[Java]
    TSSHAuthenticationAttemptEvent getOnAuthenticationAttempt();
    void setOnAuthenticationAttempt(TSSHAuthenticationAttemptEvent Value);
    TSSHAuthenticationAttemptEvent.Callback OnAuthenticationAttempt = new TSSHAuthenticationAttemptEvent.Callback() {
        public void TSSHAuthenticationAttemptEventCallback(TObject Sender, int AuthType, TObject AuthParam) {
            //...
        }
    }

Parameters

  • AuthType - type of authentication.
  • AuthParam - parameter which is required for authentication, depending on AuthType.

Authentication types

Description

This event is fired when an authentication attempt is performed. The corresponding parameters contain the authentication type and the authentication parameter, e.g., if AuthType is SSH_AUTH_TYPE_PUBLICKEY, AuthParam contains the key.

See also:     AuthenticationTypes     OnAuthenticationSuccess     OnAuthenticationFailed    

Discuss this help topic in SecureBlackbox Forum