trait HandlesAuthorization (View source)
Response | allow(string|null $message = null, mixed $code = null) Create a new access response. | |
Response | deny(string|null $message = null, mixed|null $code = null) Throws an unauthorized exception. |
Create a new access response.
Throws an unauthorized exception.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Auth/Access/HandlesAuthorization.html