3
My application uses Laravel’s ready authentication, but I need users to log in from a web service.
So what I’m trying to do is that if the guy exists in the application database, he does Laravel’s native authentication anyway, if not, then I use the webservice.
The problem is that before authenticating, I need to check if it exists in the bank and I would like to know if there is any method native to Laravel that I can do this (without consulting with DB::select()
).
It worked, had even looked at this method in the documentation, but had not understood right how it works. Thank you.
– Jedson Melo