requireResidentKey = true; } else { $this->requireResidentKey = null; } } public static function create( ?string $authenticatorAttachment = null, string $userVerification = self::USER_VERIFICATION_REQUIREMENT_PREFERRED, null|string $residentKey = self::RESIDENT_KEY_REQUIREMENT_NO_PREFERENCE, ): self { return new self($authenticatorAttachment, $userVerification, $residentKey); } }