denormalizer->denormalize($data['response'], AuthenticatorResponse::class, $format, $context), ); } public function supportsDenormalization(mixed $data, string $type, string $format = null, array $context = []): bool { return $type === PublicKeyCredential::class; } /** * @return array */ public function getSupportedTypes(?string $format): array { return [ PublicKeyCredential::class => true, ]; } }