enrollPassword abstract method

void enrollPassword(
  1. PasswordEnrollmentContext context,
  2. PasswordEnrollmentHandler handler
)

The method that will be invoked till either the user provides a password that is conform with the format specified by the PasswordPolicy or till the operation is cancelled (through the PasswordEnrollmentHandler.cancel).

Params:

  • context: the object providing some contextual information during password enrollment.
  • handler: the object that must be invoked with the new password.

Implementation

void enrollPassword(
  PasswordEnrollmentContext context,
  PasswordEnrollmentHandler handler,
);