services:

  plugin.manager.password_policy.password_constraint:
    class: Drupal\password_policy\PasswordConstraintPluginManager
    parent: default_plugin_manager

  password_policy_event_subscriber:
      class: Drupal\password_policy\EventSubscriber\PasswordPolicyEventSubscriber
      tags:
        - {name: event_subscriber}