this is config.php to jwt how i can do it
'ttl' => 60,
/*
|--------------------------------------------------------------------------
| Refresh time to live
|--------------------------------------------------------------------------
|
| Specify the length of time (in minutes) that the token can be refreshed
| within. I.E. The user can refresh their token within a 2 week window of
| the original token being created until they must re-authenticate.
| Defaults to 2 weeks
|
*/
'refresh_ttl' => 20160,
**i need it because android developer save token in file and when the user login Times coming After the first login the application send token If it exists in the file send it to server and Check it in the database and return user information without login if not exists must login can i do this or i need another way to do it **
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire