Interface PasswordUserVerificationHandler

All Superinterfaces:
CancelableHandler

public interface PasswordUserVerificationHandler extends CancelableHandler
The object handling the outcome of an interaction where the user provides password credentials.

This is used with the Authenticator.PASSWORD_AUTHENTICATOR_AAID.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    The method to be invoked to cancel the user verification.
    void
    verifyPassword(char[] password)
    The method to be invoked when the password authenticator must be used.
  • Method Details

    • verifyPassword

      void verifyPassword(char[] password)
      The method to be invoked when the password authenticator must be used. The SDK will verify that the provided password is valid.
      Parameters:
      password - the password.
      Throws:
      IllegalStateException - if either cancel() or this method were previously invoked
    • cancel

      void cancel()
      The method to be invoked to cancel the user verification.
      Specified by:
      cancel in interface CancelableHandler
      Throws:
      IllegalStateException - if this method, or any other method of the consumer (like verifyPassword(char[])) were previously invoked