AutoLogin

Faciliates automatic login via a single token for Symfony's Security component.

MIT License

Downloads
298.2K
Stars
99
Committers
14
AutoLogin - 2.0.3 Latest Release

Published by jmikola over 3 years ago

Includes #25, which fixes compatibility with Symfony 5.0 compatibility by splitting Security component dependencies.

AutoLogin - 2.0.2

Published by jmikola over 3 years ago

Includes #23, which modifies AutoLoginListener to extend AbstractListener (see: symfony/symfony@b20ebe6b908cadca5c37040f305a101ce8cdf981). Also includes #24, which adds CI.

This release bumps the lowest Symfony requirement to 4.4, and 4.4.1 specifically for the Security component.

AutoLogin - 2.0.1

Published by jmikola over 3 years ago

Includes #22, which fixes AutoLoginToken serialization for symfony/security-core > 4.3.

AutoLogin - 2.0.0

Published by jmikola over 4 years ago

Includes #21, which allows compatibility with Symfony 5.0 and bumps the lowest Symfony requirement to 4.3.

AutoLogin - 1.2.4

Published by jmikola over 6 years ago

Includes #20, which allows compatibility with Symfony 4.0.

AutoLogin - 1.2.3

Published by jmikola over 8 years ago

Includes #18, which allows compatibility with Symfony 3.0 and bumps the lowest Symfony requirement to 2.2. AutoLoginListener's constructor now takes a PSR-3 LoggerInterface instead of Symfony 2.x's HttpKernel LoggerInterface. Symfony 2.x's class has extended PSR-3's interface since 2.2, so this is not a BC break.

AutoLogin - 1.2.2

Published by jmikola about 9 years ago

Includes #13, which allows the AutoLoginListener to be constructed with a Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface instance (introduced in Symfony 2.6). Symfony\Component\Security\Core\SecurityContextInterface, which will be removed in Symfony 3.0, is still supported for backwards compatibility.

AutoLogin - 1.2.1

Published by jmikola over 9 years ago

Includes #11, which adds logic in the authentication provider to check for the user in the token before querying the user provider. In some cases on Symfony 2.6.x and earlier, loadUserByAutoLoginToken() might have been called with a null key value.

AutoLogin - 1.2.0

Published by jmikola almost 10 years ago

Adds an override_already_authenticated option to the listener service, which allows customization of the default behavior to do nothing after emitting an "already authenticated" event. This option makes it possible to use auto-login links to override an existing authenticated user, where previously a user would need to manually log out. See the README for additional documentation.

AutoLogin - 1.1.0

Published by jmikola over 11 years ago

Implements support for dispatching a new "already authenticated" event when a token parameter is found in the request but a user is already authenticated. See the README for additional documentation and a practical use case for this feature.

Package Rankings
Top 3.37% on Packagist.org
Related Projects