Answer the question
In order to leave comments, you need to log in
How to make auth driver for Sentinel in Laravel 5.1?
I can't think. Do I understand correctly. Sentinel has its own authentication. And according to the idea, you can make a driver for Sentinel so that you can use the same Auth object in the application. At the same time, it is easy to change authentication methods (eloquent / sentinel). I did not find anything in the sentinel documentation. I found a driver on the Internet , but something seems to me that this is not it. It’s not clear why it says to use it like that
'guards' => [
'api' => [
'driver' => 'cent',
'provider' => 'users',
],
],
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question