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 |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Security/Csrf/TokenGenerator/TokenGeneratorInterface.html