Package com.okta.authn.sdk
Class AuthenticationStateHandlerAdapter
- java.lang.Object
-
- com.okta.authn.sdk.AuthenticationStateHandlerAdapter
-
- All Implemented Interfaces:
AuthenticationStateHandler
- Direct Known Subclasses:
ExampleAuthenticationStateHandler
public abstract class AuthenticationStateHandlerAdapter extends Object implements AuthenticationStateHandler
Adapter implementation ofAuthenticationStateHandlerthat callsAuthenticationStateHandler.handleUnknown(AuthenticationResponse)for each method.- Since:
- 0.1.0
-
-
Constructor Summary
Constructors Constructor Description AuthenticationStateHandlerAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleLockedOut(AuthenticationResponse lockedOut)voidhandleMfaChallenge(AuthenticationResponse mfaChallengeResponse)voidhandleMfaEnroll(AuthenticationResponse mfaEnroll)voidhandleMfaEnrollActivate(AuthenticationResponse mfaEnrollActivate)voidhandleMfaRequired(AuthenticationResponse mfaRequiredResponse)voidhandlePasswordExpired(AuthenticationResponse passwordExpired)voidhandlePasswordReset(AuthenticationResponse passwordReset)voidhandlePasswordWarning(AuthenticationResponse passwordWarning)voidhandleRecovery(AuthenticationResponse recovery)voidhandleRecoveryChallenge(AuthenticationResponse recoveryChallenge)voidhandleSuccess(AuthenticationResponse successResponse)voidhandleUnauthenticated(AuthenticationResponse unauthenticatedResponse)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.okta.authn.sdk.AuthenticationStateHandler
handleUnknown
-
-
-
-
Method Detail
-
handleUnauthenticated
public void handleUnauthenticated(AuthenticationResponse unauthenticatedResponse)
- Specified by:
handleUnauthenticatedin interfaceAuthenticationStateHandler
-
handleSuccess
public void handleSuccess(AuthenticationResponse successResponse)
- Specified by:
handleSuccessin interfaceAuthenticationStateHandler
-
handlePasswordWarning
public void handlePasswordWarning(AuthenticationResponse passwordWarning)
- Specified by:
handlePasswordWarningin interfaceAuthenticationStateHandler
-
handlePasswordExpired
public void handlePasswordExpired(AuthenticationResponse passwordExpired)
- Specified by:
handlePasswordExpiredin interfaceAuthenticationStateHandler
-
handleRecovery
public void handleRecovery(AuthenticationResponse recovery)
- Specified by:
handleRecoveryin interfaceAuthenticationStateHandler
-
handleRecoveryChallenge
public void handleRecoveryChallenge(AuthenticationResponse recoveryChallenge)
- Specified by:
handleRecoveryChallengein interfaceAuthenticationStateHandler
-
handlePasswordReset
public void handlePasswordReset(AuthenticationResponse passwordReset)
- Specified by:
handlePasswordResetin interfaceAuthenticationStateHandler
-
handleLockedOut
public void handleLockedOut(AuthenticationResponse lockedOut)
- Specified by:
handleLockedOutin interfaceAuthenticationStateHandler
-
handleMfaRequired
public void handleMfaRequired(AuthenticationResponse mfaRequiredResponse)
- Specified by:
handleMfaRequiredin interfaceAuthenticationStateHandler
-
handleMfaEnroll
public void handleMfaEnroll(AuthenticationResponse mfaEnroll)
- Specified by:
handleMfaEnrollin interfaceAuthenticationStateHandler
-
handleMfaEnrollActivate
public void handleMfaEnrollActivate(AuthenticationResponse mfaEnrollActivate)
- Specified by:
handleMfaEnrollActivatein interfaceAuthenticationStateHandler
-
handleMfaChallenge
public void handleMfaChallenge(AuthenticationResponse mfaChallengeResponse)
- Specified by:
handleMfaChallengein interfaceAuthenticationStateHandler
-
-