PasswordChallengeResult challenge(String username, String password, Object state)
username- name of the user attempting to sign in
password- the user's password
state- an opaque object containing state used to preserve state during a 2-Factor authentication.
PasswordValidationException- for system errors
PasswordCredentialValidatorAuthnException- for user authentication errors to prevent the user from answering a challenge question.
PasswordCredentialChallengeException- to prompt or re-prompt the user to answer a challenge question.
Copyright 2020 Ping Identity Corp. All rights reserved.