class AuthServiceProvider extends AuthServiceProvider (View source)

Constants

SUPERADMIN

ABILITY_ALIASES

Map between the legacy gates and the new gates from PermissionAuthServiceProvider.

The new gates are being used in the code now and the old gates are kept for backward compatibility.

Methods

define($ability, $callback)

No description

authorize($user, $callback)

No description

userHasRole($user, $roles)

No description

boot()

No description

Details

protected define($ability, $callback)

No description

Parameters

$ability
$callback

protected authorize($user, $callback)

No description

Parameters

$user
$callback

protected userHasRole($user, $roles)

No description

Parameters

$user
$roles

boot()

No description