Discuss this help topic in SecureBlackbox Forum

TElSSHCustomForwarding.OnAuthenticationKeyboard

TElSSHCustomForwarding     See also     


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


This event is fired when the keyboard-interactive authentication is chosen by the server

Declaration

[C#/Java]
    event TSSHAuthenticationKeyboardEvent OnAuthenticationKeyboard;
    delegate void TSSHAuthenticationKeyboardEvent(Object Sender, TElStringList Prompts, Boolean[] Echo, TElStringList Responses);

[VB.NET]
    Event OnAuthenticationKeyboard As TSSHAuthenticationKeyboardEvent
    Delegate Sub TSSHAuthenticationKeyboardEvent(ByVal Sender As Object, ByVal Prompts As TElStringList, ByVal Echo As Boolean[], ByVal Responses As TElStringList)

[Pascal]
    property OnAuthenticationKeyboard : TSSHAuthenticationKeyboardEvent;
    TSSHAuthenticationKeyboardEvent = procedure (Sender: TObject; Prompts : TStringList; Echo : TBits; Responses : TStringList) of object;

[C++]
    void get_OnAuthenticationKeyboard(TSSHAuthenticationKeyboardEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnAuthenticationKeyboard(TSSHAuthenticationKeyboardEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSSHAuthenticationKeyboardEvent)(void * _ObjectData, TObjectHandle Sender, TStringListHandle Prompts, TBitsHandle Echo, TStringListHandle Responses);

[PHP]
    TSSHAuthenticationKeyboardEvent|callable|NULL get_OnAuthenticationKeyboard()
    void set_OnAuthenticationKeyboard(TSSHAuthenticationKeyboardEvent|callable|NULL $Value)
    callable TSSHAuthenticationKeyboardEvent(TObject $Sender, TStringList $Prompts, TBits $Echo, TStringList $Responses)

Parameters

  • Prompts - The list of prompts sent by the server
  • Echo - The list of flags which specify which responses should be echoed on the screen
  • Responses - The list of responses entered by user

Description

    This event is fired when the keyboard-interactive authentication type is chosen by the server. According to this authentication type, the server should send a number of prompts to the client, and the client should respond to each prompt with a text line. The Echo parameter specifies which of client's responses (in case of entering them from console) should be displayed to the user.

See also:     OnAuthenticationSuccess     OnAuthenticationFailed    

Discuss this help topic in SecureBlackbox Forum