SecureBlackbox 2020 C++ Builder Edition

Questions / Feedback?

AuthAttempt Event

Fires when a connected client makes an authentication attempt.

Syntax

typedef struct {
  __int64 ConnectionID;
  String Username;
  String Password;
  bool Allow;
} TsbxWebSocketServerAuthAttemptEventParams;

typedef void __fastcall (__closure *TsbxWebSocketServerAuthAttemptEvent)(System::TObject* Sender, TsbxWebSocketServerAuthAttemptEventParams *e);

__property TsbxWebSocketServerAuthAttemptEvent OnAuthAttempt = { read=FOnAuthAttempt, write=FOnAuthAttempt };

Remarks

The component 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 C++ Builder Edition - Version 20.0 [Build 8165]