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(Session $session, string $secret) Initializes the provider with a Session object and a secret value. string gener

SessionBagInterface::initialize()

initialize(array $array) Initializes the Bag. Parameters array $array

SessionBagInterface::getStorageKey()

string getStorageKey() Gets the storage key for this bag. Return Value string

SessionBagInterface::getName()

string getName() Gets this bag's name. Return Value string

SessionBagInterface::clear()

mixed clear() Clears out data from bag. Return Value mixed Whatever data was contained

SessionBagInterface

interface SessionBagInterface Session Bag store. Methods string getName() Gets this bag's name. initialize(array $array) Initializes the Bag. string getStorageKey() Gets the storage key for this bag. mixed clear() Clears out data from bag. Details string getName() Gets this bag's name. Return Value string initialize(array $array) Initializes the Bag. Parameters array $array

SessionAuthenticationStrategyInterface

interface SessionAuthenticationStrategyInterface SessionAuthenticationStrategyInterface. Implementation are responsible for updating the session after an interactive authentication attempt was successful. Methods onAuthentication(Request $request, TokenInterface $token) This performs any necessary changes to the session. Details onAuthentication(Request $request, TokenInterface $token) This performs any necessary changes to the session. This m

SessionAuthenticationStrategy

class SessionAuthenticationStrategy implements SessionAuthenticationStrategyInterface The default session strategy implementation. Supports the following strategies: NONE: the session is not changed MIGRATE: the session id is updated, attributes are kept INVALIDATE: the session id is updated, attributes are lost Constants NONE MIGRATE INVALIDATE Methods __construct($strategy) onAuthentication(Request $request, TokenInterface $token) This performs any necessary changes

Session::start()

bool start() Starts the session storage. Return Value bool True if session started Exceptions RuntimeException If session fails to start.

Session::setName()

setName(string $name) Sets the session name. Parameters string $name