I need to confirm if I have to change my authentication method that is in jwt with this code in laravel/php
use Firebase\JWT\JWT;
private function generateJWTKey()
{
$key = config('fitpal.zoom.key');
$secret = config('fitpal.zoom.secret');
$now = new \DateTime();
$now->modify('+1 day');
$token = [
"iss" => $key,
"exp" => $now->getTimestamp(),
];
return JWT::encode($token, $secret, 'HS256');
}
Can you show me the documentation I need to implement this new authentication method?