webCOMAND

io_comand_auth\auth

Class responsible for evaluating a user's authorizations against the repository.

Example

$user->auth()->is_authorized('com_example_blog::CanPost');

Related

is_authorized()