class CsrfMiddleware (View source)

Methods

bool
process(Request $request, callable $next)

Fonction de lancement du middleware.

array
preventOn()

Prevent csrf action on urls

Details

bool process(Request $request, callable $next)

Fonction de lancement du middleware.

Parameters

Request $request
callable $next

Return Value

bool

Exceptions

array preventOn()

Prevent csrf action on urls

Return Value

array