define(TwoFAccount::class, function (Faker $faker) { $service = $faker->unique()->domainName; $account = $faker->safeEmail; return [ 'service' => $service, 'account' => $account, 'uri' => 'otpauth://totp/' . $service . ':' . $account . '?secret=' . $faker->regexify('[A-Z0-9]{16}') . '&issuer=' . $service, 'icon' => '', ]; });