AuthorizesRequests

AuthorizesRequests

trait AuthorizesRequests (View source)

Methods

Response authorize(mixed $ability, mixed|array $arguments = array())

Authorize a given action for the current user.

Response authorizeForUser(Authenticatable|mixed $user, mixed $ability, mixed|array $arguments = array())

Authorize a given action for a user.

void authorizeResource(string $model, string|null $parameter = null, array $options = array(), Request|null $request = null)

Authorize a resource action based on the incoming request.

doc_Laravel
2016-11-02 16:06:47
Comments
Leave a Comment

Please login to continue.