diff --git a/core/lib/Drupal/Core/Authentication/AuthenticationManager.php b/core/lib/Drupal/Core/Authentication/AuthenticationManager.php index 0a04d79..9e05dd1 100644 --- a/core/lib/Drupal/Core/Authentication/AuthenticationManager.php +++ b/core/lib/Drupal/Core/Authentication/AuthenticationManager.php @@ -24,7 +24,7 @@ * be responsible. If no provider set an active user then the user is set to * anonymous. */ -class AuthenticationManager implements AuthenticationProviderInterface, AuthenticationManagerInterface { +class AuthenticationManager implements AuthenticationProviderInterface { /** * Array of all registered authentication providers, keyed by ID. @@ -119,20 +119,6 @@ public function authenticate(Request $request) { } /** - * Returns the default provider ID. - * - * The default provider is the one with the lowest registered priority. - * - * @return string - * The ID of the default provider. - */ - public function defaultProviderId() { - $providers = $this->getSortedProviders(); - $provider_ids = array_keys($providers); - return end($provider_ids); - } - - /** * Returns the sorted array of authentication providers. * * @return array diff --git a/core/lib/Drupal/Core/Authentication/AuthenticationManagerInterface.php b/core/lib/Drupal/Core/Authentication/AuthenticationManagerInterface.php deleted file mode 100644 index 0b4c0ff..0000000 --- a/core/lib/Drupal/Core/Authentication/AuthenticationManagerInterface.php +++ /dev/null @@ -1,23 +0,0 @@ -