public interface OTPAuthenticationCompleteCallback
OTPWebStrategy
implementations.Modifier and Type | Method and Description |
---|---|
void |
onComplete(boolean success)
Invoked when the OTP authentication process completes.
|
void onComplete(boolean success)
CookieManager
.
If the strategy implements a mechanism that utilizes a different cookie storage then these cookies must be copied over to the current default cookie manager (accessible via
CookieHandler.getDefault()
) before invoking this method with a true argument.success
- true if the redirect back to the finish endpoint containing the finish endpoint URL parameter was detected, false if the flow failed for a reason