Previous Topic: Complete Password AuthenticationNext Topic: One-Time Password Authentication


Partial Password Authentication

To perform partial password authentication:

  1. (Optional) If you are implementing a plug-in, then invoke the setAdditionalInput() method in the AdditionalInput class to obtain an object that implements the class.

    See "Preparing Additional Input" for more information.

  2. Invoke the getPasswordChallenge() method of the PasswordAuth interface to obtain the challenge from the AuthMinder Server.

    This method returns the unique identifier for the challenge and the password character positions that the user has to answer.

  3. Implement the logic to collect the user’s password.
  4. Invoke the verifyPassword() method of the PasswordAuth interface to verify the password provided by the user. Optionally, you can also specify the token type that must be returned to the user after successful authentication by using the AuthTokenType class.

    Note: You need to invoke the verifyPassword() method that takes the challenge identifier (challengeID) as one of the input parameter.

    This method returns an instance of the AuthResponse interface, which provides the transaction details, credential details, and token information.