2017 © Pedro Peláez
 

symfony-bundle bbn-security-bundle

Simple Api Key based Authentication bundle for Symfony2

image

bburnichon/bbn-security-bundle

Simple Api Key based Authentication bundle for Symfony2

  • Tuesday, October 15, 2013
  • by bburnichon
  • Repository
  • 0 Watchers
  • 0 Stars
  • 561 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 1 % Grown

The README.md

bbn-security-bundle Build status...

API Key based Authentication bundle for Symfony2, (*1)

Usage

This bundle will enable the new api_key authentication provider, (*2)

use it as below in your security.yml file, (*3)

security:
    firewall:
        your-firewall-name:
            pattern: ^/what-you-wish-to-protect/
            provider: user_provider_name
            api_key:
                parameter: apikey
            stateless: true

The new user provider should provide api keys as username, (*4)

The loadUserFromUsername() method will be called with the supplied api key the Authentication class does not care about the credentials fields, (*5)

Installation

$ composer require bburnichon/bbn-security-bundle:@dev

Then add the following to your AppKernel, (*6)

$bundles = array(
    new BBn\SecurityBundle\BBnSecurityBundle(),
);

Running the Tests

$ php bin/phpunit

License

bbn-security-bundle is released under the MIT License. See the bundled LICENSE file for details., (*7)

The Versions

15/10 2013

dev-master

9999999-dev

Simple Api Key based Authentication bundle for Symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Benoit Burnichon

security bundle apikey

15/10 2013

v0.1.0

0.1.0.0

Simple Api Key based Authentication bundle for Symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Benoit Burnichon

security bundle apikey