Change record status: 
Project: 
Introduced in branch: 
11.4.x
Introduced in version: 
11.4.0
Description: 

The constructor AuthenticationSubscriber has a new parameter $authenticationCollector, of type Drupal\Core\Authentication\AuthenticationCollectorInterface. This is to allow error messages to include the specific authentication method.

This parameter is optional from Drupal 11.4.0, but will be mandatory in Drupal 12.0.0.

Impacts: 
Module developers