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
public class ExampleAuthenticationStateHandler extends AuthenticationStateHandlerAdapter
-
-
Constructor Summary
Constructors Constructor Description ExampleAuthenticationStateHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthenticationResponsegetPreviousAuthResult()voidhandleLockedOut(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
-
-
-
-
Method Detail
-
handleSuccess
public void handleSuccess(AuthenticationResponse successResponse)
- Specified by:
handleSuccessin interfaceAuthenticationStateHandler- Overrides:
handleSuccessin classAuthenticationStateHandlerAdapter
-
handlePasswordExpired
public void handlePasswordExpired(AuthenticationResponse passwordExpired)
- Specified by:
handlePasswordExpiredin interfaceAuthenticationStateHandler- Overrides:
handlePasswordExpiredin classAuthenticationStateHandlerAdapter
-
handleMfaRequired
public void handleMfaRequired(AuthenticationResponse mfaRequiredResponse)
- Specified by:
handleMfaRequiredin interfaceAuthenticationStateHandler- Overrides:
handleMfaRequiredin classAuthenticationStateHandlerAdapter
-
handleMfaChallenge
public void handleMfaChallenge(AuthenticationResponse mfaChallengeResponse)
- Specified by:
handleMfaChallengein interfaceAuthenticationStateHandler- Overrides:
handleMfaChallengein classAuthenticationStateHandlerAdapter
-
handleLockedOut
public void handleLockedOut(AuthenticationResponse lockedOutResponse)
- Specified by:
handleLockedOutin interfaceAuthenticationStateHandler- Overrides:
handleLockedOutin classAuthenticationStateHandlerAdapter
-
handleRecoveryChallenge
public void handleRecoveryChallenge(AuthenticationResponse recoveryChallenge)
- Specified by:
handleRecoveryChallengein interfaceAuthenticationStateHandler- Overrides:
handleRecoveryChallengein classAuthenticationStateHandlerAdapter
-
handleRecovery
public void handleRecovery(AuthenticationResponse recoveryResponse)
- Specified by:
handleRecoveryin interfaceAuthenticationStateHandler- Overrides:
handleRecoveryin classAuthenticationStateHandlerAdapter
-
handleMfaEnroll
public void handleMfaEnroll(AuthenticationResponse mfaEnroll)
- Specified by:
handleMfaEnrollin interfaceAuthenticationStateHandler- Overrides:
handleMfaEnrollin classAuthenticationStateHandlerAdapter
-
handleMfaEnrollActivate
public void handleMfaEnrollActivate(AuthenticationResponse mfaEnrollActivate)
- Specified by:
handleMfaEnrollActivatein interfaceAuthenticationStateHandler- Overrides:
handleMfaEnrollActivatein classAuthenticationStateHandlerAdapter
-
handlePasswordReset
public void handlePasswordReset(AuthenticationResponse passwordReset)
- Specified by:
handlePasswordResetin interfaceAuthenticationStateHandler- Overrides:
handlePasswordResetin classAuthenticationStateHandlerAdapter
-
handleUnknown
public void handleUnknown(AuthenticationResponse unknownResponse)
-
getPreviousAuthResult
public static AuthenticationResponse getPreviousAuthResult()
-
-