Discuss this help topic in SecureBlackbox Forum

TElSSHServer.OnFurtherAuthNeeded

TElSSHServer     


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


This event is fired after each finished authentication step.

Declaration

[C#]
    event TSSHFurtherAuthNeededEvent OnFurtherAuthNeeded;
    delegate void TSSHFurtherAuthNeededEvent(Object Sender, string Username, ref bool Needed);

[VB.NET]
    Event OnFurtherAuthNeeded As TSSHFurtherAuthNeededEvent
    Delegate Sub TSSHFurtherAuthNeededEvent(ByVal Sender As Object, ByVal Username As String, ByRef Needed As Boolean)

[Pascal]
    property OnFurtherAuthNeeded: TSSHFurtherAuthNeededEvent
    
    TSSHFurtherAuthNeededEvent = procedure(Sender: System.Object; const Username: string; var Needed: boolean) of object;

[C++]
    void get_OnFurtherAuthNeeded(TSSHFurtherAuthNeededEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnFurtherAuthNeeded(TSSHFurtherAuthNeededEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSSHFurtherAuthNeededEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcUsername, int32_t szUsername, int8_t &Needed);

[PHP]
    TSSHFurtherAuthNeededEvent|callable|NULL get_OnFurtherAuthNeeded()
    void set_OnFurtherAuthNeeded(TSSHFurtherAuthNeededEvent|callable|NULL $Value)
    callable TSSHFurtherAuthNeededEvent(TObject $Sender, string $Username, bool &$Needed)

[Java]
    TSSHFurtherAuthNeededEvent getOnFurtherAuthNeeded();
    void setOnFurtherAuthNeeded(TSSHFurtherAuthNeededEvent Value);
    TSSHFurtherAuthNeededEvent.Callback OnFurtherAuthNeeded = new TSSHFurtherAuthNeededEvent.Callback() {
        public void TSSHFurtherAuthNeededEventCallback(TObject Sender, String Username, TSBBoolean Needed) {
            //...
        }
    }

Parameters

  • Username - username (login) on the server
  • Needed - if you want to process further authentication set this parameter to True, otherwise to False
  • pcUsername - username (login) on the server
  • szUsername - the length of pcUsername.

Description

    This event allows the application to specify if further authentication is needed or previous steps are enough.

Discuss this help topic in SecureBlackbox Forum