AuthenticationProviderChallengeInterface

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

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.
doc_Drupal
2016-10-29 08:45:13
Comments
Leave a Comment

Please login to continue.