SecureBlackbox 2020 Qt Edition

Questions / Feedback?

AuthPassword Event

This event is fired on password authentication attempt from a client.

Syntax

class SFTPServerAuthPasswordEventParams {
public:
  qint64 ConnectionID();
  const QString &Username();
  const QString &Password();
  bool Accept();
  void SetAccept(bool bAccept);
  bool ForceChangePassword();
  void SetForceChangePassword(bool bForceChangePassword);
  int EventRetVal();
  void SetEventRetVal(int iRetVal);
};
// To handle, connect one or more slots to this signal. void AuthPassword(SFTPServerAuthPasswordEventParams *e);
// Or, subclass SFTPServer and override this emitter function. virtual int FireAuthPassword(SFTPServerAuthPasswordEventParams *e) {...}

Remarks

Parameters Username and Password contain user credentials. If they are correct, set Accept to true. You can request password change by setting ForceChangePassword to true.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Qt Edition - Version 20.0 [Build 8154]