General
We use middleware to address the authentication topic. This is recommend from L5.
See php artisan route:list command table field middleware:
auth middleware
[schmto@mablx10 lara]$ php artisan route:list +--------+----------+----------------------------------------------------------+--------------------------------------+-------------------------------------------------------------------------------------------+-------------+ | Domain | Method | URI | Name | Action | Middleware | +--------+----------+----------------------------------------------------------+--------------------------------------+-------------------------------------------------------------------------------------------+-------------+ ... | | POST | admin/Contract | Contract.store | Modules\ProvBase\Http\Controllers\ContractController@store | auth:create | | GET|HEAD | admin/Contract | Contract.index | Modules\ProvBase\Http\Controllers\ContractController@index | auth:view | | POST | admin/Contract/create | Contract.create | Modules\ProvBase\Http\Controllers\ContractController@create | auth:create | | GET|HEAD | admin/Contract/create | Contract.create | Modules\ProvBase\Http\Controllers\ContractController@create | auth:create | | GET|HEAD | admin/Contract/datatables | Contract.data | Modules\ProvBase\Http\Controllers\ContractController@index_datatables_ajax | auth:view | | GET|HEAD | admin/Contract/dump | Contract.dumpall | Modules\ProvBase\Http\Controllers\ContractController@dumpall | auth:view | | PATCH | admin/Contract/{Contract} | Contract.update | Modules\ProvBase\Http\Controllers\ContractController@update | auth:edit | | DELETE | admin/Contract/{Contract} | Contract.destroy | Modules\ProvBase\Http\Controllers\ContractController@destroy | auth:delete | | PUT | admin/Contract/{Contract} | Contract.update | Modules\ProvBase\Http\Controllers\ContractController@update | auth:edit | | GET|HEAD | admin/Contract/{Contract}/dump | Contract.dump | Modules\ProvBase\Http\Controllers\ContractController@dump | auth:view | | GET|HEAD | admin/Contract/{Contract}/edit | Contract.edit | Modules\ProvBase\Http\Controllers\ContractController@edit | auth:view ...