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