But now i don't know how to get the authenticated user on windows and where i verify that.
I have to obtain the user logged in the system and then verify if exists in table database.
Obviously, change the username you're trying to search for, but if you can't get past this point then you have a configuration issue. Refer to the documentation on that one.
Then you can simply authorize against it just like you normally would.
if (Auth::attempt($credentials, $request->has('remember'))) {
@mhankins how to check user authentication ?
Like :
Adldap::auth()->check()
check method is not exists tho ..
i'm assuming that user no longer be 'guest' .. so we can check it in our controllers and routes.
should we create new middleware ?