interface TestAuthenticationProviderInterface
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/Core/Authentication/AuthenticationManagerTest.php \Drupal\Tests\Core\Authentication\TestAuthenticationProviderInterface
- 8.9.x core/tests/Drupal/Tests/Core/Authentication/AuthenticationManagerTest.php \Drupal\Tests\Core\Authentication\TestAuthenticationProviderInterface
- 10 core/tests/Drupal/Tests/Core/Authentication/AuthenticationManagerTest.php \Drupal\Tests\Core\Authentication\TestAuthenticationProviderInterface
Helper interface to mock two interfaces at once.
Hierarchy
- interface \Drupal\Core\Authentication\AuthenticationProviderFilterInterface; interface \Drupal\Core\Authentication\AuthenticationProviderInterface
- interface \Drupal\Tests\Core\Authentication\TestAuthenticationProviderInterface implements \Drupal\Core\Authentication\AuthenticationProviderFilterInterface, \Drupal\Core\Authentication\AuthenticationProviderInterface
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\AuthenticationView 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.