You are here

interface TestAuthenticationProviderInterface in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Authentication/AuthenticationManagerTest.php \Drupal\Tests\Core\Authentication\TestAuthenticationProviderInterface

Helper interface to mock two interfaces at once.

Hierarchy

Expanded class hierarchy of TestAuthenticationProviderInterface

All classes that implement TestAuthenticationProviderInterface

File

core/tests/Drupal/Tests/Core/Authentication/AuthenticationManagerTest.php, line 92
Contains \Drupal\Tests\Core\Authentication\AuthenticationManagerTest.

Namespace

Drupal\Tests\Core\Authentication
View source
interface TestAuthenticationProviderInterface extends AuthenticationProviderFilterInterface, AuthenticationProviderInterface {

}

Members

Namesort descending Modifiers Type Description Overrides
AuthenticationProviderFilterInterface::appliesToRoutedRequest public function Checks whether the authentication method is allowed on a given route. 1
AuthenticationProviderInterface::applies public function Checks whether suitable authentication credentials are on the request. 7
AuthenticationProviderInterface::authenticate public function Authenticates the user. 7