HTTP Basic authentication provider.
Hierarchy
- class \Drupal\basic_auth\Authentication\Provider\BasicAuth implements AuthenticationProviderChallengeInterface, AuthenticationProviderInterface
File
- core/modules/basic_auth/src/Authentication/Provider/BasicAuth.php, line 18
Namespace
Drupal\basic_auth\Authentication\Provider
Members
Name | Modifiers | Type | Description |
---|---|---|---|
BasicAuth::$configFactory | protected | property | The config factory. |
BasicAuth::$entityManager | protected | property | The entity manager. |
BasicAuth::$flood | protected | property | The flood service. |
BasicAuth::$userAuth | protected | property | The user auth service. |
BasicAuth::applies | public | function | Checks whether suitable authentication credentials are on the request. Overrides AuthenticationProviderInterface::applies |
BasicAuth::authenticate | public | function | Authenticates the user. Overrides AuthenticationProviderInterface::authenticate |
BasicAuth::challengeException | public | function | Constructs an exception which is used to generate the challenge. Overrides AuthenticationProviderChallengeInterface::challengeException |
BasicAuth::__construct | public | function | Constructs a HTTP basic authentication provider object. |
Please login to continue.