trait VerifiesCsrfToken

Verifies CSRF token Trait

Properties

$enableCsrfProtection

Methods

makeXsrfCookie()

No description

verifyCsrfToken()

No description

string
getCsrfTokenFromRequest()

Get the CSRF token from the request.

static bool
serialized()

Determine if the cookie contents should be serialized.

Details

at line 20
protected makeXsrfCookie()

No description

at line 37
protected verifyCsrfToken()

No description

at line 58
protected string getCsrfTokenFromRequest()

Get the CSRF token from the request.

Return Value

string

at line 79
static bool serialized()

Determine if the cookie contents should be serialized.

Return Value

bool