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 of
AuthenticationStateHandler
that calls AuthenticationStateHandler.handleUnknown(AuthenticationResponse)
for each method.- Since:
- 0.1.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
Constructor Details
-
AuthenticationStateHandlerAdapter
public AuthenticationStateHandlerAdapter()
-
-
Method Details
-
handleUnauthenticated
- Specified by:
handleUnauthenticated
in interfaceAuthenticationStateHandler
-
handleSuccess
- Specified by:
handleSuccess
in interfaceAuthenticationStateHandler
-
handlePasswordWarning
- Specified by:
handlePasswordWarning
in interfaceAuthenticationStateHandler
-
handlePasswordExpired
- Specified by:
handlePasswordExpired
in interfaceAuthenticationStateHandler
-
handleRecovery
- Specified by:
handleRecovery
in interfaceAuthenticationStateHandler
-
handleRecoveryChallenge
- Specified by:
handleRecoveryChallenge
in interfaceAuthenticationStateHandler
-
handlePasswordReset
- Specified by:
handlePasswordReset
in interfaceAuthenticationStateHandler
-
handleLockedOut
- Specified by:
handleLockedOut
in interfaceAuthenticationStateHandler
-
handleMfaRequired
- Specified by:
handleMfaRequired
in interfaceAuthenticationStateHandler
-
handleMfaEnroll
- Specified by:
handleMfaEnroll
in interfaceAuthenticationStateHandler
-
handleMfaEnrollActivate
- Specified by:
handleMfaEnrollActivate
in interfaceAuthenticationStateHandler
-
handleMfaChallenge
- Specified by:
handleMfaChallenge
in interfaceAuthenticationStateHandler
-