Package com.okta.authn.sdk.example
Class ExampleAuthenticationStateHandler
java.lang.Object
com.okta.authn.sdk.AuthenticationStateHandlerAdapter
com.okta.authn.sdk.example.ExampleAuthenticationStateHandler
- All Implemented Interfaces:
AuthenticationStateHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AuthenticationResponse
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) Methods inherited from class com.okta.authn.sdk.AuthenticationStateHandlerAdapter
handlePasswordWarning, handleUnauthenticated
-
Constructor Details
-
ExampleAuthenticationStateHandler
public ExampleAuthenticationStateHandler()
-
-
Method Details
-
handleSuccess
- Specified by:
handleSuccess
in interfaceAuthenticationStateHandler
- Overrides:
handleSuccess
in classAuthenticationStateHandlerAdapter
-
handlePasswordExpired
- Specified by:
handlePasswordExpired
in interfaceAuthenticationStateHandler
- Overrides:
handlePasswordExpired
in classAuthenticationStateHandlerAdapter
-
handleMfaRequired
- Specified by:
handleMfaRequired
in interfaceAuthenticationStateHandler
- Overrides:
handleMfaRequired
in classAuthenticationStateHandlerAdapter
-
handleMfaChallenge
- Specified by:
handleMfaChallenge
in interfaceAuthenticationStateHandler
- Overrides:
handleMfaChallenge
in classAuthenticationStateHandlerAdapter
-
handleLockedOut
- Specified by:
handleLockedOut
in interfaceAuthenticationStateHandler
- Overrides:
handleLockedOut
in classAuthenticationStateHandlerAdapter
-
handleRecoveryChallenge
- Specified by:
handleRecoveryChallenge
in interfaceAuthenticationStateHandler
- Overrides:
handleRecoveryChallenge
in classAuthenticationStateHandlerAdapter
-
handleRecovery
- Specified by:
handleRecovery
in interfaceAuthenticationStateHandler
- Overrides:
handleRecovery
in classAuthenticationStateHandlerAdapter
-
handleMfaEnroll
- Specified by:
handleMfaEnroll
in interfaceAuthenticationStateHandler
- Overrides:
handleMfaEnroll
in classAuthenticationStateHandlerAdapter
-
handleMfaEnrollActivate
- Specified by:
handleMfaEnrollActivate
in interfaceAuthenticationStateHandler
- Overrides:
handleMfaEnrollActivate
in classAuthenticationStateHandlerAdapter
-
handlePasswordReset
- Specified by:
handlePasswordReset
in interfaceAuthenticationStateHandler
- Overrides:
handlePasswordReset
in classAuthenticationStateHandlerAdapter
-
handleUnknown
-
getPreviousAuthResult
-