CsrfProviderInterface deprecated::isCsrfTokenValid()

bool isCsrfTokenValid(string $intention, string $token)

Validates a CSRF token.

Parameters

string $intention The intention used when generating the CSRF token
string $token The token supplied by the browser

Return Value

bool Whether the token supplied by the browser is correct
doc_Symfony
2016-10-28 06:12:40
Comments
Leave a Comment

Please login to continue.