<?php
// token_generator.php
// Current date: 2024-06-13

require_once '../../auth.php';

// Prepare the payload for the token
$payload = array(
  'user_id' => 24509,
  'username' => 'squadmgr@cellministry.tv',
  // Include any other relevant data in the payload
);

// Generate the token
$token = generateToken($payload);

// Use the generated token as needed
echo $token;