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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthenticationResponsevoidhandleLockedOut(AuthenticationResponse lockedOutResponse) voidhandleMfaChallenge(AuthenticationResponse mfaChallengeResponse) voidhandleMfaEnroll(AuthenticationResponse mfaEnroll) voidhandleMfaEnrollActivate(AuthenticationResponse mfaEnrollActivate) voidhandleMfaRequired(AuthenticationResponse mfaRequiredResponse) voidhandlePasswordExpired(AuthenticationResponse passwordExpired) voidhandlePasswordReset(AuthenticationResponse passwordReset) voidhandleRecovery(AuthenticationResponse recoveryResponse) voidhandleRecoveryChallenge(AuthenticationResponse recoveryChallenge) voidhandleSuccess(AuthenticationResponse successResponse) voidhandleUnknown(AuthenticationResponse unknownResponse) Methods inherited from class com.okta.authn.sdk.AuthenticationStateHandlerAdapter
handlePasswordWarning, handleUnauthenticated
-
Constructor Details
-
ExampleAuthenticationStateHandler
public ExampleAuthenticationStateHandler()
-
-
Method Details
-
handleSuccess
- Specified by:
handleSuccessin interfaceAuthenticationStateHandler- Overrides:
handleSuccessin classAuthenticationStateHandlerAdapter
-
handlePasswordExpired
- Specified by:
handlePasswordExpiredin interfaceAuthenticationStateHandler- Overrides:
handlePasswordExpiredin classAuthenticationStateHandlerAdapter
-
handleMfaRequired
- Specified by:
handleMfaRequiredin interfaceAuthenticationStateHandler- Overrides:
handleMfaRequiredin classAuthenticationStateHandlerAdapter
-
handleMfaChallenge
- Specified by:
handleMfaChallengein interfaceAuthenticationStateHandler- Overrides:
handleMfaChallengein classAuthenticationStateHandlerAdapter
-
handleLockedOut
- Specified by:
handleLockedOutin interfaceAuthenticationStateHandler- Overrides:
handleLockedOutin classAuthenticationStateHandlerAdapter
-
handleRecoveryChallenge
- Specified by:
handleRecoveryChallengein interfaceAuthenticationStateHandler- Overrides:
handleRecoveryChallengein classAuthenticationStateHandlerAdapter
-
handleRecovery
- Specified by:
handleRecoveryin interfaceAuthenticationStateHandler- Overrides:
handleRecoveryin classAuthenticationStateHandlerAdapter
-
handleMfaEnroll
- Specified by:
handleMfaEnrollin interfaceAuthenticationStateHandler- Overrides:
handleMfaEnrollin classAuthenticationStateHandlerAdapter
-
handleMfaEnrollActivate
- Specified by:
handleMfaEnrollActivatein interfaceAuthenticationStateHandler- Overrides:
handleMfaEnrollActivatein classAuthenticationStateHandlerAdapter
-
handlePasswordReset
- Specified by:
handlePasswordResetin interfaceAuthenticationStateHandler- Overrides:
handlePasswordResetin classAuthenticationStateHandlerAdapter
-
handleUnknown
-
getPreviousAuthResult
-