2017 © Pedro Peláez
 

symfony-bundle antenna-bundle

Symfony and Antenna

image

flint/antenna-bundle

Symfony and Antenna

  • Tuesday, September 15, 2015
  • by henrikbjorn
  • Repository
  • 0 Watchers
  • 2 Stars
  • 94 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

AntennaBundle

Build Status Scrutinizer Code Quality, (*1)

Makes it easier to integrate Antenna (and through it JWT) authentication with your Symfony project., (*2)

Install

``` bash composer require flint/antenna-bundle, (*3)


``` php class AppKernel extends \Symfony\Component\HttpKernel\Kernel { public function registerBundles() { // ... $bundles[] = new Flint\Bundle\AntennaBundle\AntennaBundle(); // ... } }

``` yaml antenna: secret: your-shared-secret, (*4)


Usage ----- ``` yaml # security.yml security: providers: in_memory: memory: users: henrikbjorn: password: my-unique-password roles: 'ROLE_USER' firewalls: token_exchange: pattern: ^/auth simple-preauth: provider: in_memory authenticator: antenna.username_password_authenticator web_token: pattern: ^/api simple-preauth: provider: in_memory authenticator: antenna.token_authenticator

The Versions

31/08 2015

1.0.0

1.0.0.0

Symfony and Antenna

  Sources   Download

MIT

The Requires

 

The Development Requires