Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. AuthenticationManager.php

function AuthenticationManager::challengeException

Overrides AuthenticationProviderChallengeInterface::challengeException

File

core/lib/Drupal/Core/Authentication/AuthenticationManager.php, line 82

Class

AuthenticationManager
Manager for authentication.

Namespace

Drupal\Core\Authentication

Code

public function challengeException(Request $request, \Exception $previous) {
    $provider_id = $this->getChallenger($request);
    if ($provider_id) {
        $provider = $this->authCollector
            ->getProvider($provider_id);
        return $provider->challengeException($request, $previous);
    }
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal