UnauthorizedException class UnauthorizedException extends Exception
AuthorizationException class AuthorizationException extends
bool denies(string $ability, array|mixed $arguments = array()) Determine
HandlesAuthorization trait HandlesAuthorization (
string __toString() Get the string representation of the message.
$this before(callable $callback) Register a callback to run before all
bool allows(string $ability, array|mixed $arguments = array()) Determine
string|null message() Get the response message.
Response class Response (
Gate class Gate implements
Page 2 of 3