CsrfTokenManager

CsrfTokenManager

class CsrfTokenManager implements CsrfTokenManagerInterface

Default implementation of {@link CsrfTokenManagerInterface}.

Methods

__construct(TokenGeneratorInterface $generator = null, TokenStorageInterface $storage = null)

Creates a new CSRF provider using PHP's native session storage.

登录查看完整内容