AuthServiceProvider::isDeferred()

bool isDeferred() Determine if the provider is deferred. Return Value bool

AuthServiceProvider::compiles()

static array compiles() Get a list of files that should be compiled for the package. Return Value array

AuthServiceProvider::compiles()

static array compiles() Get a list of files that should be compiled for the package. Return Value array

AuthServiceProvider::commands()

void commands(array|mixed $commands) Register the package's custom Artisan commands. Parameters array|mixed $commands Return Value void

AuthServiceProvider::commands()

void commands(array|mixed $commands) Register the package's custom Artisan commands. Parameters array|mixed $commands Return Value void

AuthServiceProvider

AuthServiceProvider class AuthServiceProvider extends ServiceProvider (View source) Methods void __construct(Application $app) Create a new service provider instance. from ServiceProvider static array pathsToPublish(string $provider = null, string $group = null) Get the paths to publish. from ServiceProvider void commands(array|mixed $commands) Register the package's custom Artisan commands. from ServiceProvider array provides() Get the services provided by the provider. from

AuthServiceProvider

AuthServiceProvider class AuthServiceProvider extends ServiceProvider (View source) Methods void __construct(Application $app) Create a new service provider instance. from ServiceProvider void register() Register the service provider. static array pathsToPublish(string $provider = null, string $group = null) Get the paths to publish. from ServiceProvider void commands(array|mixed $commands) Register the package's custom Artisan commands. from ServiceProvider array provide

AuthorizesRequests::authorizeResource()

void authorizeResource(string $model, string|null $parameter = null, array $options = array(), Request|null $request = null) Authorize a resource action based on the incoming request. Parameters string $model string|null $parameter array $options Request|null $request Return Value void

AuthorizesRequests::authorizeForUser()

Response authorizeForUser(Authenticatable|mixed $user, mixed $ability, mixed|array $arguments = array()) Authorize a given action for a user. Parameters Authenticatable|mixed $user mixed $ability mixed|array $arguments Return Value Response Exceptions AuthorizationException

AuthorizesRequests::authorize()

Response authorize(mixed $ability, mixed|array $arguments = array()) Authorize a given action for the current user. Parameters mixed $ability mixed|array $arguments Return Value Response Exceptions AuthorizationException