private function reauthenticate(array &$state) { $sourceImpl = $this->authSource->getAuthSource(); if ($sourceImpl === null) { throw new SimpleSAML_Error_Exception('No such auth source defined.'); } $sourceImpl->reauthenticate($state); }