DefaultCsrfProvider deprecated::generateCsrfToken()

string generateCsrfToken(string $intention)

Generates a CSRF token for a page of your application.

Parameters

string $intention Some value that identifies the action intention (i.e. "authenticate"). Doesn't have to be a secret value.

Return Value

string The generated token
doc_Symfony
2016-10-28 06:13:37
Comments
Leave a Comment

Please login to continue.