Previous Topic: Password AuthenticationNext Topic: Partial Password Authentication


Complete Password Authentication

To perform regular password authentication:

  1. Implement the logic to collect the user’s password.
  2. (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.

  3. 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 does not take 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.