SessionCsrfProvider deprecated

SessionCsrfProvider deprecated

class SessionCsrfProvider extends DefaultCsrfProvider

deprecated

since version 2.4, to be removed in 3.0. Use {@link \Symfony\Component\Security\Csrf\CsrfTokenManager} in combination with {@link \Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage} instead.

This provider uses a Symfony Session object to retrieve the user's session ID.

Methods

__construct(登录查看完整内容