acceptedCredentials?->isNotEmpty()) { // @phpstan-ignore-next-line $options['credentials'] = $assertion->acceptedCredentials->map->getKey()->toArray(); } $challenge = $this->storeChallenge($assertion->request, $assertion->userVerification, $options); $assertion->json->set('challenge', $challenge->data); return $next($assertion); } }