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(AuthenticationResponse lockedOut) |
void |
AuthenticationStateHandlerAdapter.handleLockedOut(AuthenticationResponse lockedOut) |
void |
AuthenticationStateHandler.handleMfaChallenge(AuthenticationResponse mfaChallengeResponse) |
void |
AuthenticationStateHandlerAdapter.handleMfaChallenge(AuthenticationResponse mfaChallengeResponse) |
void |
AuthenticationStateHandler.handleMfaEnroll(AuthenticationResponse mfaEnroll) |
void |
AuthenticationStateHandlerAdapter.handleMfaEnroll(AuthenticationResponse mfaEnroll) |
void |
AuthenticationStateHandler.handleMfaEnrollActivate(AuthenticationResponse mfaEnrollActivate) |
void |
AuthenticationStateHandlerAdapter.handleMfaEnrollActivate(AuthenticationResponse mfaEnrollActivate) |
void |
AuthenticationStateHandler.handleMfaRequired(AuthenticationResponse mfaRequiredResponse) |
void |
AuthenticationStateHandlerAdapter.handleMfaRequired(AuthenticationResponse mfaRequiredResponse) |
void |
AuthenticationStateHandler.handlePasswordExpired(AuthenticationResponse passwordExpired) |
void |
AuthenticationStateHandlerAdapter.handlePasswordExpired(AuthenticationResponse passwordExpired) |
void |
AuthenticationStateHandler.handlePasswordReset(AuthenticationResponse passwordReset) |
void |
AuthenticationStateHandlerAdapter.handlePasswordReset(AuthenticationResponse passwordReset) |
void |
AuthenticationStateHandler.handlePasswordWarning(AuthenticationResponse passwordWarning) |
void |
AuthenticationStateHandlerAdapter.handlePasswordWarning(AuthenticationResponse passwordWarning) |
void |
AuthenticationStateHandler.handleRecovery(AuthenticationResponse recovery) |
void |
AuthenticationStateHandlerAdapter.handleRecovery(AuthenticationResponse recovery) |
void |
AuthenticationStateHandler.handleRecoveryChallenge(AuthenticationResponse recoveryChallenge) |
void |
AuthenticationStateHandlerAdapter.handleRecoveryChallenge(AuthenticationResponse recoveryChallenge) |
void |
AuthenticationStateHandler.handleSuccess(AuthenticationResponse successResponse) |
void |
AuthenticationStateHandlerAdapter.handleSuccess(AuthenticationResponse successResponse) |
void |
AuthenticationStateHandler.handleUnauthenticated(AuthenticationResponse unauthenticatedResponse) |
void |
AuthenticationStateHandlerAdapter.handleUnauthenticated(AuthenticationResponse unauthenticatedResponse) |
void |
AuthenticationStateHandler.handleUnknown(AuthenticationResponse unknownResponse) |
Modifier and Type | Method and Description |
---|---|
AuthenticationResponse |
AuthenticationClient.activateFactor(String factorId,
ActivateFactorRequest request,
AuthenticationStateHandler stateHandler)
The sms, call and token:software:totp factor types require activation to complete the enrollment process.
|
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(String answer,
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.
|
AuthenticationResponse |
AuthenticationClient.authenticate(AuthenticationRequest request,
AuthenticationStateHandler stateHandler)
Initiates a username and password login against Okta's Authentication API.
|
AuthenticationResponse |
AuthenticationClient.authenticate(String username,
char[] password,
String relayState,
AuthenticationStateHandler stateHandler)
Initiates a username and password login against Okta's Authentication API.
|
AuthenticationResponse |
AuthenticationClient.cancel(String stateToken)
Cancels the current transaction and revokes the state token.
|
AuthenticationResponse |
AuthenticationClient.challengeFactor(String factorId,
String stateToken,
AuthenticationStateHandler stateHandler)
Requests a challenge factor be sent to the user via the corresponding {code}factorId{code}.
|
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(char[] oldPassword,
char[] newPassword,
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.
|
AuthenticationResponse |
AuthenticationClient.enrollFactor(FactorEnrollRequest factorEnrollRequest,
AuthenticationStateHandler stateHandler)
Enrolls a user with a factor assigned by their MFA Policy.
|
AuthenticationResponse |
AuthenticationClient.enrollFactor(com.okta.sdk.resource.user.factor.FactorType factorType,
com.okta.sdk.resource.user.factor.FactorProvider factorProvider,
com.okta.sdk.resource.user.factor.FactorProfile factorProfile,
String stateToken,
AuthenticationStateHandler stateHandler)
Enrolls a user with a factor assigned by their MFA Policy.
|
AuthenticationResponse |
AuthenticationClient.previous(String stateToken,
AuthenticationStateHandler stateHandler)
Moves the current transaction state back to the previous state.
|
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(String username,
com.okta.sdk.resource.user.factor.FactorType factorType,
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.
|
AuthenticationResponse |
AuthenticationClient.resendActivateFactor(String factorId,
String stateToken,
AuthenticationStateHandler stateHandler)
Resend an activation factor challenge to a user.
|
AuthenticationResponse |
AuthenticationClient.resendVerifyFactor(String factorId,
String stateToken,
AuthenticationStateHandler stateHandler)
Resend a factor verification challenge to a user.
|
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(char[] newPassword,
String stateToken,
AuthenticationStateHandler stateHandler)
Resets a user’s password to complete a recovery transaction with a PASSWORD_RESET state.
|
AuthenticationResponse |
AuthenticationClient.skip(String stateToken,
AuthenticationStateHandler stateHandler)
Skip the current transaction state and advance to the next state.
|
AuthenticationResponse |
AuthenticationClient.unlockAccount(String username,
com.okta.sdk.resource.user.factor.FactorType factorType,
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.
|
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.verifyActivation(String factorId,
String stateToken,
AuthenticationStateHandler stateHandler)
Returns the state of factor's activation.
|
AuthenticationResponse |
AuthenticationClient.verifyFactor(String factorId,
String stateToken,
AuthenticationStateHandler stateHandler)
Verifies the state of a factor.
|
AuthenticationResponse |
AuthenticationClient.verifyFactor(String factorId,
VerifyFactorRequest request,
AuthenticationStateHandler stateHandler)
Verifies an enrolled factor for an authentication transaction with the MFA_REQUIRED or MFA_CHALLENGE state
|
AuthenticationResponse |
AuthenticationClient.verifyRecoveryToken(String recoveryToken,
AuthenticationStateHandler stateHandler)
Validates a recovery token that was distributed to the end user to continue the recovery transaction.
|
AuthenticationResponse |
AuthenticationClient.verifyUnlockAccount(com.okta.sdk.resource.user.factor.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.
|
Modifier and Type | Method and Description |
---|---|
AuthenticationResponse |
DefaultAuthenticationClient.activateFactor(String factorId,
ActivateFactorRequest request,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.answerRecoveryQuestion(RecoveryQuestionAnswerRequest request,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.answerRecoveryQuestion(String answer,
String stateToken,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.authenticate(AuthenticationRequest request,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.authenticate(String username,
char[] password,
String relayState,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.cancel(String stateToken) |
AuthenticationResponse |
DefaultAuthenticationClient.challengeFactor(String factorId,
String stateToken,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.changePassword(ChangePasswordRequest changePasswordRequest,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.changePassword(char[] oldPassword,
char[] newPassword,
String stateToken,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.enrollFactor(FactorEnrollRequest request,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.enrollFactor(com.okta.sdk.resource.user.factor.FactorType type,
com.okta.sdk.resource.user.factor.FactorProvider provider,
com.okta.sdk.resource.user.factor.FactorProfile profile,
String stateToken,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.previous(String stateToken,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.recoverPassword(RecoverPasswordRequest request,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.recoverPassword(String username,
com.okta.sdk.resource.user.factor.FactorType factorType,
String relayState,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.resendActivateFactor(String factorId,
String stateToken,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.resendVerifyFactor(String factorId,
String stateToken,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.resetPassword(ChangePasswordRequest request,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.resetPassword(char[] newPassword,
String stateToken,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.skip(String stateToken,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.unlockAccount(String username,
com.okta.sdk.resource.user.factor.FactorType factorType,
String relayState,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.unlockAccount(UnlockAccountRequest request,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.verifyActivation(String factorId,
String stateToken,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.verifyFactor(String factorId,
String stateToken,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.verifyFactor(String factorId,
VerifyFactorRequest request,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.verifyRecoveryToken(String recoveryToken,
AuthenticationStateHandler stateHandler) |
AuthenticationResponse |
DefaultAuthenticationClient.verifyUnlockAccount(com.okta.sdk.resource.user.factor.FactorType factorType,
VerifyRecoveryRequest request,
AuthenticationStateHandler stateHandler) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultAuthenticationResponse |
Copyright © 2018 Okta. All rights reserved.