Discuss this help topic in SecureBlackbox Forum

TElSSHBaseClient.OnAuthenticationKeyboard

TElSSHBaseClient     See also     


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


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

Declaration

[C#]
    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)

[Java]
    TSSHAuthenticationKeyboardEvent getOnAuthenticationKeyboard();
    void setOnAuthenticationKeyboard(TSSHAuthenticationKeyboardEvent Value);
    TSSHAuthenticationKeyboardEvent.Callback OnAuthenticationKeyboard = new TSSHAuthenticationKeyboardEvent.Callback() {
        public void TSSHAuthenticationKeyboardEventCallback(TObject Sender, TElStringList Prompts, boolean[] Echo, TElStringList Responses) {
            //...
        }
    }

Parameters

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

Description

This event is fired when the keyboard-interactive authentication type is chosen by the server. According to this authentication type, 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 responses of the client (entered in the console) should be displayed to the user.

See also:     OnAuthenticationSuccess     OnAuthenticationFailed    

Discuss this help topic in SecureBlackbox Forum