public class ExampleAuthenticationStateHandler extends AuthenticationStateHandlerAdapter
Constructor and Description |
---|
ExampleAuthenticationStateHandler() |
Modifier and Type | Method and Description |
---|---|
static AuthenticationResponse |
getPreviousAuthResult() |
void |
handleLockedOut(AuthenticationResponse lockedOutResponse) |
void |
handleMfaChallenge(AuthenticationResponse mfaChallengeResponse) |
void |
handleMfaEnroll(AuthenticationResponse mfaEnroll) |
void |
handleMfaEnrollActivate(AuthenticationResponse mfaEnrollActivate) |
void |
handleMfaRequired(AuthenticationResponse mfaRequiredResponse) |
void |
handlePasswordExpired(AuthenticationResponse passwordExpired) |
void |
handlePasswordReset(AuthenticationResponse passwordReset) |
void |
handleRecovery(AuthenticationResponse recoveryResponse) |
void |
handleRecoveryChallenge(AuthenticationResponse recoveryChallenge) |
void |
handleSuccess(AuthenticationResponse successResponse) |
void |
handleUnknown(AuthenticationResponse unknownResponse) |
handlePasswordWarning, handleUnauthenticated
public void handleSuccess(AuthenticationResponse successResponse)
handleSuccess
in interface AuthenticationStateHandler
handleSuccess
in class AuthenticationStateHandlerAdapter
public void handlePasswordExpired(AuthenticationResponse passwordExpired)
handlePasswordExpired
in interface AuthenticationStateHandler
handlePasswordExpired
in class AuthenticationStateHandlerAdapter
public void handleMfaRequired(AuthenticationResponse mfaRequiredResponse)
handleMfaRequired
in interface AuthenticationStateHandler
handleMfaRequired
in class AuthenticationStateHandlerAdapter
public void handleMfaChallenge(AuthenticationResponse mfaChallengeResponse)
handleMfaChallenge
in interface AuthenticationStateHandler
handleMfaChallenge
in class AuthenticationStateHandlerAdapter
public void handleLockedOut(AuthenticationResponse lockedOutResponse)
handleLockedOut
in interface AuthenticationStateHandler
handleLockedOut
in class AuthenticationStateHandlerAdapter
public void handleRecoveryChallenge(AuthenticationResponse recoveryChallenge)
handleRecoveryChallenge
in interface AuthenticationStateHandler
handleRecoveryChallenge
in class AuthenticationStateHandlerAdapter
public void handleRecovery(AuthenticationResponse recoveryResponse)
handleRecovery
in interface AuthenticationStateHandler
handleRecovery
in class AuthenticationStateHandlerAdapter
public void handleMfaEnroll(AuthenticationResponse mfaEnroll)
handleMfaEnroll
in interface AuthenticationStateHandler
handleMfaEnroll
in class AuthenticationStateHandlerAdapter
public void handleMfaEnrollActivate(AuthenticationResponse mfaEnrollActivate)
handleMfaEnrollActivate
in interface AuthenticationStateHandler
handleMfaEnrollActivate
in class AuthenticationStateHandlerAdapter
public void handlePasswordReset(AuthenticationResponse passwordReset)
handlePasswordReset
in interface AuthenticationStateHandler
handlePasswordReset
in class AuthenticationStateHandlerAdapter
public void handleUnknown(AuthenticationResponse unknownResponse)
public static AuthenticationResponse getPreviousAuthResult()
Copyright © 2018–2023 Okta. All rights reserved.