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 ofAuthenticationStateHandler
that 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 void
handleLockedOut(AuthenticationResponse lockedOut)
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
handlePasswordWarning(AuthenticationResponse passwordWarning)
void
handleRecovery(AuthenticationResponse recovery)
void
handleRecoveryChallenge(AuthenticationResponse recoveryChallenge)
void
handleSuccess(AuthenticationResponse successResponse)
void
handleUnauthenticated(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:
handleUnauthenticated
in interfaceAuthenticationStateHandler
-
handleSuccess
public void handleSuccess(AuthenticationResponse successResponse)
- Specified by:
handleSuccess
in interfaceAuthenticationStateHandler
-
handlePasswordWarning
public void handlePasswordWarning(AuthenticationResponse passwordWarning)
- Specified by:
handlePasswordWarning
in interfaceAuthenticationStateHandler
-
handlePasswordExpired
public void handlePasswordExpired(AuthenticationResponse passwordExpired)
- Specified by:
handlePasswordExpired
in interfaceAuthenticationStateHandler
-
handleRecovery
public void handleRecovery(AuthenticationResponse recovery)
- Specified by:
handleRecovery
in interfaceAuthenticationStateHandler
-
handleRecoveryChallenge
public void handleRecoveryChallenge(AuthenticationResponse recoveryChallenge)
- Specified by:
handleRecoveryChallenge
in interfaceAuthenticationStateHandler
-
handlePasswordReset
public void handlePasswordReset(AuthenticationResponse passwordReset)
- Specified by:
handlePasswordReset
in interfaceAuthenticationStateHandler
-
handleLockedOut
public void handleLockedOut(AuthenticationResponse lockedOut)
- Specified by:
handleLockedOut
in interfaceAuthenticationStateHandler
-
handleMfaRequired
public void handleMfaRequired(AuthenticationResponse mfaRequiredResponse)
- Specified by:
handleMfaRequired
in interfaceAuthenticationStateHandler
-
handleMfaEnroll
public void handleMfaEnroll(AuthenticationResponse mfaEnroll)
- Specified by:
handleMfaEnroll
in interfaceAuthenticationStateHandler
-
handleMfaEnrollActivate
public void handleMfaEnrollActivate(AuthenticationResponse mfaEnrollActivate)
- Specified by:
handleMfaEnrollActivate
in interfaceAuthenticationStateHandler
-
handleMfaChallenge
public void handleMfaChallenge(AuthenticationResponse mfaChallengeResponse)
- Specified by:
handleMfaChallenge
in interfaceAuthenticationStateHandler
-
-