phpmentors/composite-password-authentication-bundle

A Symfony bundle for authentication using composite password


Keywords
symfony, security, Authentication
License
BSD-2-Clause

Documentation

PHPMentorsCompositePasswordAuthenticationBundle

A Symfony bundle for authentication using composite password

Total Downloads Latest Stable Version Latest Unstable Version

Features

  • Composite password support for form authentication

Installation

PHPMentorsCompositePasswordAuthenticationBundle can be installed using Composer.

First, add the dependency to phpmentors/composite-password-authentication-bundle into your composer.json file as the following:

Stable version:

composer require phpmentors/composite-password-authentication-bundle "1.0.*"

Development version:

composer require phpmentors/composite-password-authentication-bundle "~1.1@dev"

Second, add PHPMentorsCompositePasswordAuthenticationBundle into your bundles to register in AppKernel::registerBundles() as the following:

...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            ...
            new PHPMentors\CompositePasswordAuthenticationBundle\PHPMentorsCompositePasswordAuthenticationBundle(),
        );
        ...

Configuration

app/config/security.yml:

security:
    # ...

    firewalls:
        secured_area:
            form_login_composite_password:
                ... # Same configuration as `form_login`

Support

If you find a bug or have a question, or want to request a feature, create an issue or pull request for it on Issues.

Copyright

Copyright (c) 2016 KUBO Atsuhiro, All rights reserved.

License

The BSD 2-Clause License