class CsrfMiddleware (View source)

Methods

bool
process(Request $request, callable $next)

Handle an incoming request.

array
preventOn()

Prevent csrf action on urls

Details

bool process(Request $request, callable $next)

Handle an incoming request.

Parameters

Request $request
callable $next

Return Value

bool

Exceptions

array preventOn()

Prevent csrf action on urls

Return Value

array