class VerifyCsrfToken extends VerifyCsrfToken

Properties

protected bool $addHttpCookie

Indicates whether the XSRF-TOKEN cookie should be set on the response.

protected array<int,string> $except

The URIs that should be excluded from CSRF verification.

Methods

bool
tokensMatch(Request $request)

Determine if the request has a URI that should pass through CSRF verification.

Details

at line 32
protected bool tokensMatch(Request $request)

Determine if the request has a URI that should pass through CSRF verification.

Parameters

Request $request

Return Value

bool