Generate a challenge when access is denied for unauthenticated users.
On a 403 (access denied), if there are no credentials on the request, some authentication methods (e.g. basic auth) require that a challenge is sent to the client.
Hierarchy
- interface \Drupal\Core\Authentication\AuthenticationProviderChallengeInterface
File
- core/lib/Drupal/Core/Authentication/AuthenticationProviderChallengeInterface.php, line 14
Namespace
Drupal\Core\Authentication
Members
Name | Modifiers | Type | Description |
---|---|---|---|
AuthenticationProviderChallengeInterface::challengeException | public | function | Constructs an exception which is used to generate the challenge. |
Please login to continue.