Обработка авторизации
трайт ОбработкаАвторизации (Просмотреть исходный код)
Методы
| Response | allow(string|null $message = null, mixed $code = null)
Создаёт новый ответ доступа. | |
| Response | deny(string|null $message = null, mixed|null $code = null)
Выбрасывает исключение несанкционированного доступа. |
Подробности
protected Response allow(string|null $message = null, mixed $code = null)
Создаёт новый ответ доступа.
protected Response deny(string|null $message = null, mixed|null $code = null)
Выбрасывает исключение несанкционированного доступа.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/6.x/Illuminate/Auth/Access/HandlesAuthorization.html