Package | Description |
---|---|
com.okta.authn.sdk | |
com.okta.authn.sdk.client | |
com.okta.authn.sdk.impl.client | |
com.okta.authn.sdk.impl.resource |
Modifier and Type | Method and Description |
---|---|
void |
AuthenticationStateHandler.handleLockedOut(@NotNull AuthenticationResponse lockedOut) |
void |
AuthenticationStateHandlerAdapter.handleLockedOut(AuthenticationResponse lockedOut) |
void |
AuthenticationStateHandler.handleMfaChallenge(@NotNull AuthenticationResponse mfaChallengeResponse) |
void |
AuthenticationStateHandlerAdapter.handleMfaChallenge(AuthenticationResponse mfaChallengeResponse) |
void |
AuthenticationStateHandler.handleMfaEnroll(@NotNull AuthenticationResponse mfaEnroll) |
void |
AuthenticationStateHandlerAdapter.handleMfaEnroll(AuthenticationResponse mfaEnroll) |
void |
AuthenticationStateHandler.handleMfaEnrollActivate(@NotNull AuthenticationResponse mfaEnrollActivate) |
void |
AuthenticationStateHandlerAdapter.handleMfaEnrollActivate(AuthenticationResponse mfaEnrollActivate) |
void |
AuthenticationStateHandler.handleMfaRequired(@NotNull AuthenticationResponse mfaRequiredResponse) |
void |
AuthenticationStateHandlerAdapter.handleMfaRequired(AuthenticationResponse mfaRequiredResponse) |
void |
AuthenticationStateHandler.handlePasswordExpired(@NotNull AuthenticationResponse passwordExpired) |
void |
AuthenticationStateHandlerAdapter.handlePasswordExpired(AuthenticationResponse passwordExpired) |
void |
AuthenticationStateHandler.handlePasswordReset(@NotNull AuthenticationResponse passwordReset) |
void |
AuthenticationStateHandlerAdapter.handlePasswordReset(AuthenticationResponse passwordReset) |
void |
AuthenticationStateHandler.handlePasswordWarning(@NotNull AuthenticationResponse passwordWarning) |
void |
AuthenticationStateHandlerAdapter.handlePasswordWarning(AuthenticationResponse passwordWarning) |
void |
AuthenticationStateHandler.handleRecovery(@NotNull AuthenticationResponse recovery) |
void |
AuthenticationStateHandlerAdapter.handleRecovery(AuthenticationResponse recovery) |
void |
AuthenticationStateHandler.handleRecoveryChallenge(@NotNull AuthenticationResponse recoveryChallenge) |
void |
AuthenticationStateHandlerAdapter.handleRecoveryChallenge(AuthenticationResponse recoveryChallenge) |
void |
AuthenticationStateHandler.handleSuccess(@NotNull AuthenticationResponse successResponse) |
void |
AuthenticationStateHandlerAdapter.handleSuccess(AuthenticationResponse successResponse) |
void |
AuthenticationStateHandler.handleUnauthenticated(@NotNull AuthenticationResponse unauthenticatedResponse) |
void |
AuthenticationStateHandlerAdapter.handleUnauthenticated(AuthenticationResponse unauthenticatedResponse) |
void |
AuthenticationStateHandler.handleUnknown(@NotNull AuthenticationResponse unknownResponse) |
Modifier and Type | Method and Description |
---|---|
default AuthenticationResponse |
AuthenticationClient.activateFactor(java.lang.String factorId,
ActivateFactorRequest request,
AuthenticationStateHandler stateHandler)
The sms, call and token:software:totp factor types require activation to complete the enrollment process.
|
AuthenticationResponse |
AuthenticationClient.activateFactor(java.lang.String factorId,
ActivateFactorRequest request,
RequestContext requestContext,
AuthenticationStateHandler stateHandler)
The sms, call and token:software:totp factor types require activation to complete the enrollment process.
|
default AuthenticationResponse |
AuthenticationClient.answerRecoveryQuestion(RecoveryQuestionAnswerRequest request,
AuthenticationStateHandler stateHandler)
Answers the user’s recovery question to ensure only the end user redeemed the recovery token for recovery transaction
with a RECOVERY status.
|
AuthenticationResponse |
AuthenticationClient.answerRecoveryQuestion(RecoveryQuestionAnswerRequest request,
RequestContext requestContext,
AuthenticationStateHandler stateHandler)
Answers the user’s recovery question to ensure only the end user redeemed the recovery token for recovery transaction
with a RECOVERY status.
|
AuthenticationResponse |
AuthenticationClient.answerRecoveryQuestion(java.lang.String answer,
java.lang.String stateToken,
AuthenticationStateHandler stateHandler)
Answers the user’s recovery question to ensure only the end user redeemed the recovery token for recovery transaction
with a RECOVERY status.
|
default AuthenticationResponse |
AuthenticationClient.authenticate(AuthenticationRequest request,
AuthenticationStateHandler stateHandler)
Initiates a username and password login against Okta's Authentication API.
|
AuthenticationResponse |
AuthenticationClient.authenticate(AuthenticationRequest request,
RequestContext requestContext,
AuthenticationStateHandler stateHandler)
Initiates a username and password login against Okta's Authentication API.
|
AuthenticationResponse |
AuthenticationClient.authenticate(java.lang.String username,
char[] password,
java.lang.String relayState,
AuthenticationStateHandler stateHandler)
Initiates a username and password login against Okta's Authentication API.
|
default AuthenticationResponse |
AuthenticationClient.cancel(java.lang.String stateToken)
Cancels the current transaction and revokes the state token.
|
AuthenticationResponse |
AuthenticationClient.cancel(java.lang.String stateToken,
RequestContext requestContext)
Cancels the current transaction and revokes the state token.
|
default AuthenticationResponse |
AuthenticationClient.challengeFactor(java.lang.String factorId,
java.lang.String stateToken,
AuthenticationStateHandler stateHandler)
Requests a challenge factor be sent to the user via the corresponding {code}factorId{code}.
|
AuthenticationResponse |
AuthenticationClient.challengeFactor(java.lang.String factorId,
java.lang.String stateToken,
RequestContext requestContext,
AuthenticationStateHandler stateHandler)
Requests a challenge factor be sent to the user via the corresponding {code}factorId{code}.
|
default AuthenticationResponse |
AuthenticationClient.changePassword(ChangePasswordRequest changePasswordRequest,
AuthenticationStateHandler stateHandler)
This operation changes a user’s password by providing the existing password and the new password password for authentication transactions with either the PASSWORD_EXPIRED or PASSWORD_WARN state.
|
AuthenticationResponse |
AuthenticationClient.changePassword(ChangePasswordRequest changePasswordRequest,
RequestContext requestContext,
AuthenticationStateHandler stateHandler)
This operation changes a user’s password by providing the existing password and the new password password for authentication transactions with either the PASSWORD_EXPIRED or PASSWORD_WARN state.
|
AuthenticationResponse |
AuthenticationClient.changePassword(char[] oldPassword,
char[] newPassword,
java.lang.String stateToken,
AuthenticationStateHandler stateHandler)
This operation changes a user’s password by providing the existing password and the new password password for authentication transactions with either the PASSWORD_EXPIRED or PASSWORD_WARN state.
|
default AuthenticationResponse |
AuthenticationClient.enrollFactor(FactorEnrollRequest factorEnrollRequest,
AuthenticationStateHandler stateHandler)
Enrolls a user with a factor assigned by their MFA Policy.
|
AuthenticationResponse |
AuthenticationClient.enrollFactor(FactorEnrollRequest factorEnrollRequest,
RequestContext requestContext,
AuthenticationStateHandler stateHandler)
Enrolls a user with a factor assigned by their MFA Policy.
|
AuthenticationResponse |
AuthenticationClient.enrollFactor(FactorType factorType,
FactorProvider factorProvider,
FactorProfile factorProfile,
java.lang.String stateToken,
AuthenticationStateHandler stateHandler)
Enrolls a user with a factor assigned by their MFA Policy.
|
default AuthenticationResponse |
AuthenticationClient.previous(java.lang.String stateToken,
AuthenticationStateHandler stateHandler)
Moves the current transaction state back to the previous state.
|
AuthenticationResponse |
AuthenticationClient.previous(java.lang.String stateToken,
RequestContext requestContext,
AuthenticationStateHandler stateHandler)
Moves the current transaction state back to the previous state.
|
default AuthenticationResponse |
AuthenticationClient.recoverPassword(RecoverPasswordRequest request,
AuthenticationStateHandler stateHandler)
Starts a new password recovery transaction for a given user and issues a recovery token that can be used to reset a user’s password.
|
AuthenticationResponse |
AuthenticationClient.recoverPassword(RecoverPasswordRequest request,
RequestContext requestContext,
AuthenticationStateHandler stateHandler)
Starts a new password recovery transaction for a given user and issues a recovery token that can be used to reset a user’s password.
|
AuthenticationResponse |
AuthenticationClient.recoverPassword(java.lang.String username,
FactorType factorType,
java.lang.String relayState,
AuthenticationStateHandler stateHandler)
Starts a new password recovery transaction for a given user and issues a recovery token that can be used to reset a user’s password.
|
default AuthenticationResponse |
AuthenticationClient.resendActivateFactor(java.lang.String factorId,
java.lang.String stateToken,
AuthenticationStateHandler stateHandler)
Resend an activation factor challenge to a user.
|
AuthenticationResponse |
AuthenticationClient.resendActivateFactor(java.lang.String factorId,
java.lang.String stateToken,
RequestContext requestContext,
AuthenticationStateHandler stateHandler)
Resend an activation factor challenge to a user.
|
default AuthenticationResponse |
AuthenticationClient.resendVerifyFactor(java.lang.String factorId,
java.lang.String stateToken,
AuthenticationStateHandler stateHandler)
Resend a factor verification challenge to a user.
|
AuthenticationResponse |
AuthenticationClient.resendVerifyFactor(java.lang.String factorId,
java.lang.String stateToken,
RequestContext requestContext,
AuthenticationStateHandler stateHandler)
Resend a factor verification challenge to a user.
|
default AuthenticationResponse |
AuthenticationClient.resetPassword(ChangePasswordRequest changePasswordRequest,
AuthenticationStateHandler stateHandler)
Resets a user’s password to complete a recovery transaction with a PASSWORD_RESET state.
|
AuthenticationResponse |
AuthenticationClient.resetPassword(ChangePasswordRequest changePasswordRequest,
RequestContext requestContext,
AuthenticationStateHandler stateHandler)
Resets a user’s password to complete a recovery transaction with a PASSWORD_RESET state.
|
AuthenticationResponse |
AuthenticationClient.resetPassword(char[] newPassword,
java.lang.String stateToken,
AuthenticationStateHandler stateHandler)
Resets a user’s password to complete a recovery transaction with a PASSWORD_RESET state.
|
default AuthenticationResponse |
AuthenticationClient.sendActivationEmail(java.lang.String factorId,
java.lang.String stateToken,
AuthenticationStateHandler stateHandler)
Sends an activation email when the user is unable to scan the QR code provided as part of an Okta Verify transaction.
|
AuthenticationResponse |
AuthenticationClient.sendActivationEmail(java.lang.String factorId,
java.lang.String stateToken,
RequestContext requestContext,
AuthenticationStateHandler stateHandler)
Sends an activation email when the user is unable to scan the QR code provided as part of an Okta Verify transaction.
|
default AuthenticationResponse |
AuthenticationClient.skip(java.lang.String stateToken,
AuthenticationStateHandler stateHandler)
Skip the current transaction state and advance to the next state.
|
AuthenticationResponse |
AuthenticationClient.skip(java.lang.String stateToken,
RequestContext requestContext,
AuthenticationStateHandler stateHandler)
Skip the current transaction state and advance to the next state.
|
AuthenticationResponse |
AuthenticationClient.unlockAccount(java.lang.String username,
FactorType factorType,
java.lang.String relayState,
AuthenticationStateHandler stateHandler)
Starts a new unlock recovery transaction for a given user and issues a recovery token that can be used to unlock a user’s account.
|
default AuthenticationResponse |
AuthenticationClient.unlockAccount(UnlockAccountRequest request,
AuthenticationStateHandler stateHandler)
Starts a new unlock recovery transaction for a given user and issues a recovery token that can be used to unlock a user’s account.
|
AuthenticationResponse |
AuthenticationClient.unlockAccount(UnlockAccountRequest request,
RequestContext requestContext,
AuthenticationStateHandler stateHandler)
Starts a new unlock recovery transaction for a given user and issues a recovery token that can be used to unlock a user’s account.
|
default AuthenticationResponse |
AuthenticationClient.verifyActivation(java.lang.String factorId,
java.lang.String stateToken,
AuthenticationStateHandler stateHandler)
Returns the state of factor's activation.
|
AuthenticationResponse |
AuthenticationClient.verifyActivation(java.lang.String factorId,
java.lang.String stateToken,
RequestContext requestContext,
AuthenticationStateHandler stateHandler)
Returns the state of factor's activation.
|
default AuthenticationResponse |
AuthenticationClient.verifyFactor(java.lang.String factorId,
java.lang.String stateToken,
AuthenticationStateHandler stateHandler)
Verifies the state of a factor.
|
AuthenticationResponse |
AuthenticationClient.verifyFactor(java.lang.String factorId,
java.lang.String stateToken,
RequestContext requestContext,
AuthenticationStateHandler stateHandler)
Verifies the state of a factor.
|
default AuthenticationResponse |
AuthenticationClient.verifyFactor(java.lang.String factorId,
VerifyFactorRequest request,
AuthenticationStateHandler stateHandler)
Verifies an enrolled factor for an authentication transaction with the MFA_REQUIRED or MFA_CHALLENGE state
|
AuthenticationResponse |
AuthenticationClient.verifyFactor(java.lang.String factorId,
VerifyFactorRequest request,
RequestContext requestContext,
AuthenticationStateHandler stateHandler)
Verifies an enrolled factor for an authentication transaction with the MFA_REQUIRED or MFA_CHALLENGE state
|
default AuthenticationResponse |
AuthenticationClient.verifyRecoveryToken(java.lang.String recoveryToken,
AuthenticationStateHandler stateHandler)
Validates a recovery token that was distributed to the end user to continue the recovery transaction.
|
AuthenticationResponse |
AuthenticationClient.verifyRecoveryToken(java.lang.String recoveryToken,
RequestContext requestContext,
AuthenticationStateHandler stateHandler)
Validates a recovery token that was distributed to the end user to continue the recovery transaction.
|
default AuthenticationResponse |
AuthenticationClient.verifyUnlockAccount(FactorType factorType,
VerifyRecoveryRequest request,
AuthenticationStateHandler stateHandler)
Verifies a recovery challenge sent to the user for primary authentication for a recovery transaction with RECOVERY_CHALLENGE status.
|
AuthenticationResponse |
AuthenticationClient.verifyUnlockAccount(FactorType factorType,
VerifyRecoveryRequest request,
RequestContext requestContext,
AuthenticationStateHandler stateHandler)
Verifies a recovery challenge sent to the user for primary authentication for a recovery transaction with RECOVERY_CHALLENGE status.
|
Modifier and Type | Method and Description |
---|---|
AuthenticationResponse |
DefaultAuthenticationClient.activateFactor(java.lang.String factorId,
ActivateFactorRequest request,
RequestContext requestContext,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.answerRecoveryQuestion(RecoveryQuestionAnswerRequest request,
RequestContext requestContext,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.answerRecoveryQuestion(java.lang.String answer,
java.lang.String stateToken,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.authenticate(AuthenticationRequest request,
RequestContext requestContext,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.authenticate(java.lang.String username,
char[] password,
java.lang.String relayState,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.cancel(java.lang.String stateToken,
RequestContext requestContext) |
AuthenticationResponse |
DefaultAuthenticationClient.challengeFactor(java.lang.String factorId,
java.lang.String stateToken,
RequestContext requestContext,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.changePassword(ChangePasswordRequest changePasswordRequest,
RequestContext requestContext,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.changePassword(char[] oldPassword,
char[] newPassword,
java.lang.String stateToken,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.enrollFactor(FactorEnrollRequest request,
RequestContext requestContext,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.enrollFactor(FactorType type,
FactorProvider provider,
FactorProfile factorProfile,
java.lang.String stateToken,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.previous(java.lang.String stateToken,
RequestContext requestContext,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.recoverPassword(RecoverPasswordRequest request,
RequestContext requestContext,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.recoverPassword(java.lang.String username,
FactorType factorType,
java.lang.String relayState,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.resendActivateFactor(java.lang.String factorId,
java.lang.String stateToken,
RequestContext requestContext,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.resendVerifyFactor(java.lang.String factorId,
java.lang.String stateToken,
RequestContext requestContext,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.resetPassword(ChangePasswordRequest request,
RequestContext requestContext,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.resetPassword(char[] newPassword,
java.lang.String stateToken,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.sendActivationEmail(java.lang.String factorId,
java.lang.String stateToken,
RequestContext requestContext,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.skip(java.lang.String stateToken,
RequestContext requestContext,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.unlockAccount(java.lang.String username,
FactorType factorType,
java.lang.String relayState,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.unlockAccount(UnlockAccountRequest request,
RequestContext requestContext,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.verifyActivation(java.lang.String factorId,
java.lang.String stateToken,
RequestContext requestContext,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.verifyFactor(java.lang.String factorId,
java.lang.String stateToken,
RequestContext requestContext,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.verifyFactor(java.lang.String factorId,
VerifyFactorRequest request,
RequestContext requestContext,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.verifyRecoveryToken(java.lang.String recoveryToken,
RequestContext requestContext,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.verifyUnlockAccount(FactorType factorType,
VerifyRecoveryRequest request,
RequestContext requestContext,
AuthenticationStateHandler stateHandler) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultAuthenticationResponse |
Copyright © 2018-2022 Okta. All Rights Reserved.