PasswordEnroller

public protocol PasswordEnroller : PasswordPolicyProvider

The object in charge of password enrollment.

Note

The SDK does not provide implementations of this interface. The implementation must be done by the user of the SDK.

  • The method that will be invoked till either - till either the user provides a password that is conform with the format expected by the password policy or till the - operation is cancelled (through the PasswordEnrollmentHandler/cancel()).

    Declaration

    Swift

    func enrollPassword(context: PasswordEnrollmentContext, handler: PasswordEnrollmentHandler)

    Parameters

    context

    the object containing contextual information for password enrollment.

    handler

    the object that is notified with the new password credentials.