W3cubDocs

/Symfony 4.1

TokenGeneratorInterface

interface TokenGeneratorInterface

Generates CSRF tokens.

Methods

string generateToken()

Generates a CSRF token.

Details

string generateToken()

Generates a CSRF token.

Return Value

string The generated CSRF token