<?php
require_once __DIR__ . '/../bootstrap.php';

use Gestoreasy\Core\Auth\Jwt;

$payload = [
    'sub' => 1,
    'email' => 'admin@local',
    'name' => 'Admin',
    'tenant' => 'default',
    'roles' => ['admin'],
    'exp' => time() + 3600,
];

echo Jwt::sign($payload);
echo "\n";