Uuid::uuid4()->toString(), 'name' => $this->faker->word, 'type' => 'public-key', 'transports' => [], 'attestation_type' => 'none', 'trust_path' => new EmptyTrustPath(), 'counter' => 0, ]; } /** * @return $this */ public function withUser(User $user): self { return $this->state([ 'user_id' => $user->id, 'user_handle' => $user->uuid, ]); } }