interface TestAuthenticationProviderInterface in Drupal 8
Same name and namespace in other branches
- 9 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
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\AuthenticationView source
interface TestAuthenticationProviderInterface extends AuthenticationProviderFilterInterface, AuthenticationProviderInterface {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AuthenticationProviderFilterInterface:: |
public | function | Checks whether the authentication method is allowed on a given route. | 1 |
AuthenticationProviderInterface:: |
public | function | Checks whether suitable authentication credentials are on the request. | 7 |
AuthenticationProviderInterface:: |
public | function | Authenticates the user. | 7 |