#!/usr/bin/env php
<?php

use Aivec\WordPress\Routing\Middleware\JWT;

require_once 'vendor/autoload.php';

$res = JWT::generateRSAKeyPair();
file_put_contents('./jwt/private-key.pem', $res['private_key']);
file_put_contents('./jwt/public-key.pem', $res['public_key']);
