interface TestAuthenticationProviderInterface

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Authentication/AuthenticationManagerTest.php \Drupal\Tests\Core\Authentication\TestAuthenticationProviderInterface
  2. 8.9.x core/tests/Drupal/Tests/Core/Authentication/AuthenticationManagerTest.php \Drupal\Tests\Core\Authentication\TestAuthenticationProviderInterface
  3. 10 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 89

Namespace

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

}

Members

Title Sort descending Modifiers Object type Summary 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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.