Answer the question
In order to leave comments, you need to log in
Is it possible to get device information without third party libraries?
In Sanctum, somewhere in the documentation (maybe not off.) I saw how the following is assigned to the token name request()->device_name
. There is nothing in the documentation about this. What do you say?
If lark does not have handles, then what would you advise to use to get data about the device, or at least about the OS?
Answer the question
In order to leave comments, you need to log in
https://laravel.com/docs/master/sanctum#issuing-mo...
$request->validate([
'email' => 'required|email',
'password' => 'required',
'device_name' => 'required'
]);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question