A guard is a way of supplying the logic that is used to identify authenticated users. Laravel provides different guards like sessions and tokens. For this article, I am just taking session guard which is web by default.
#laravel #authentication #guards #session #security