token generate

This commit is contained in:
2024-10-23 11:38:53 +03:00
parent e3d1722f2c
commit ffa659ea1d
3 changed files with 47 additions and 9 deletions

View File

@ -1,7 +1,7 @@
<?php
$secure_config = [
'token_type' => 'random_bytes', // random_bytes, md5, crypt, hash
'token_type' => 'JWT', // random_bytes, md5, crypt, hash, JWT
'token_expired_time' => "+30 days", // +1 day
];