SecureBlackbox 2020 PHP Edition

Questions / Feedback?

ContinueAuth Method

Call this method to process an authentication token and proceed to the next authentication step.

Object Oriented Interface

public function doContinueAuth($state, $authtoken);

Procedural Interface

secureblackbox_authenticator_do_continueauth($res, $state, $authtoken);

Remarks

Call this method upon receiving an authentication token from the user to validate it and proceed to the next authentication step (or complete the authentication).

Pass the authentication state blob that you obtained at the beginning of the authentication step to the State parameter, and the authentication credential received from the user to the AuthToken parameter. The method will validate the token and return one of the following results:

arAuthFurtherAuthNeeded0
arAuthSucceeded1
arAuthFailed2

The further authentication needed result indicates that the user is expected to go through at least one more authentication step. Check AuthInfo property to find out which authentication method should be used on that step, and request the relevant authentication token from the user. Upon receiving that new token, call ContinueAuth again - and continue running this loop until authentication succeeded or authentication failed result is returned.

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