SecureBlackbox 2020 Qt Edition

Questions / Feedback?

AuthAttempt Event

Fires when a connected client makes an authentication attempt.

Syntax

class DCAuthWebServerAuthAttemptEventParams {
public:
  qint64 ConnectionID();
  const QString &Username();
  const QString &Password();
  bool Allow();
  void SetAllow(bool bAllow);
  int EventRetVal();
  void SetEventRetVal(int iRetVal);
};
// To handle, connect one or more slots to this signal. void AuthAttempt(DCAuthWebServerAuthAttemptEventParams *e);
// Or, subclass DCAuthWebServer and override this emitter function. virtual int FireAuthAttempt(DCAuthWebServerAuthAttemptEventParams *e) {...}

Remarks

The class fires this event whenever a client attempts to authenticate itself. Use the Allow parameter to let the client through.

ConnectionID contains the unique session identifier for that client, and Username and Password contain the professed credentials.

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