SecureBlackbox 2020 C++ Edition

Questions / Feedback?

AuthAttemptResult Event

Reports the outcome of an authentication attempt.

Syntax

ANSI (Cross Platform)
virtual int FireAuthAttemptResult(AuthenticatorAuthAttemptResultEventParams *e);
typedef struct {
const char *UserID;
const char *AuthMethod;
int AuthRes;
char *RemainingAuthMethods; int reserved; } AuthenticatorAuthAttemptResultEventParams; Unicode (Windows) virtual INT FireAuthAttemptResult(AuthenticatorAuthAttemptResultEventParams *e);
typedef struct {
LPCWSTR UserID;
LPCWSTR AuthMethod;
INT AuthRes;
LPWSTR RemainingAuthMethods; INT reserved; } AuthenticatorAuthAttemptResultEventParams;
- (void)onAuthAttemptResult:(NSString*)userID :(NSString*)authMethod :(int*)authRes :(NSString**)remainingAuthMethods;
#define EID_AUTHENTICATOR_AUTHATTEMPTRESULT 1

virtual INT SECUREBLACKBOX_CALL FireAuthAttemptResult(LPSTR &lpszUserID, LPSTR &lpszAuthMethod, INT &iAuthRes, LPSTR &lpszRemainingAuthMethods);

Remarks

This event follows a call to ContinueAuth method and reports the user's updated authentication status following the token verification.

The updated status is reported via the AuthRes parameter, and can take one of the following values:

arAuthFurtherAuthNeeded0
arAuthSucceeded1
arAuthFailed2

The RemainingAuthMethods parameter lists the authentication methods that the user is yet to go through. The application can change either of AuthRes and RemainingAuthMethods in the event handler to alter the authentication flow.

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