Symfony\Component\Form\Extension\Csrf\CsrfProvider\CsrfProviderInterface::generateCsrfToken
Generates a CSRF token for a page of your application.
Signature
public function generateCsrfToken(string
$intention )
Parameters
$intention
— string- Some value that identifies the action intention
(i.e. "authenticate"). Doesn't have to be a secret value.