Interface AuthenticationStateHandler

  • All Known Implementing Classes:
    AuthenticationStateHandlerAdapter, ExampleAuthenticationStateHandler

    public interface AuthenticationStateHandler
    Each method of AuthenticationStateHandler corresponds to a state of Okta's Authentication state machine. Each method in @AuthenticationClient may return a different result depending on the current state of the user (password locked, etc) and the current configuration of your Okta organization.

    Implementation Notes:

    Your Okta organization MAY not be configured to enter all of these states. At minimum you should implement: You must implement handleLockedOut, if self-service unlock is enabled for your Okta organization. If you want to support password recovery flows you must implement:
    • handleRecovery
    • handleRecoveryChallenge
    • handlePasswordReset
    For multi-factor flows you must implement:
    • handleMfaRequired
    • handleMfaEnroll
    • handleMfaEnrollActivate
    • handleMfaChallenge
    Since:
    0.1.0