SecureBlackbox 2020 C++ Edition

Questions / Feedback?

AuthSucceeded Event

Reports a successful user authentication.

Syntax

ANSI (Cross Platform)
virtual int FireAuthSucceeded(SFTPServerAuthSucceededEventParams *e);
typedef struct {
int64 ConnectionID;
const char *Username;
int AuthType; int reserved; } SFTPServerAuthSucceededEventParams; Unicode (Windows) virtual INT FireAuthSucceeded(SFTPServerAuthSucceededEventParams *e);
typedef struct {
LONG64 ConnectionID;
LPCWSTR Username;
INT AuthType; INT reserved; } SFTPServerAuthSucceededEventParams;
- (void)onAuthSucceeded:(long long)connectionID :(NSString*)username :(int)authType;
#define EID_SFTPSERVER_AUTHSUCCEEDED 11

virtual INT SECUREBLACKBOX_CALL FireAuthSucceeded(LONG64 &lConnectionID, LPSTR &lpszUsername, INT &iAuthType);

Remarks

ConnectionID identifies the session, Username specify client's username, and AuthType specifies what authentication type was used.

Supported authentication types:

atRhosts0x01RHOSTS file authentication. Rarely used today.

atPublicKey0x02Public key (sometimes called private key) authentication

atPassword0x04Password-based authentication

atHostbased0x08Hostbased authentication

atKeyboard0x10Keyboard-interactive authentication. This is often used in place of generic password authentication.

atGssWithMic0x20GSS authentication

atGssKeyex0x40GSS authentication with key exchange

atPublicKeyAgent0x80Public key agent authentication

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