2017 © Pedro Peláez
 

symfony-bundle token-auth-bundle

Token Auth Bundle

image

igdr/token-auth-bundle

Token Auth Bundle

  • Monday, June 6, 2016
  • by igdr
  • Repository
  • 1 Watchers
  • 0 Stars
  • 44 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Token Auth Bundle

Installation

Add the bundle to your composer.json:, (*1)

composer require igdr/token-auth-bundle

Then add the IgdrEmployeeBundle to your application kernel:, (*2)

// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new Igdr\Bundle\TokenAuthBundle\IgdrTokenAuthBundle(),
        // ...
    );
}

config.yml, (*3)

doctrine:
    orm:
        ....
        resolve_target_entities:
            Symfony\Component\Security\Core\User\UserInterface: App\Bundle\UserBundle\Entity\User

securiry.yml, (*4)

security:
    firewalls:
        api_token_secured:
            pattern:  ^/api/.*
            stateless:    true
            api_token: true
            anonymous: true

console: php app/console doctrine:schema:update --force, (*5)

The Versions

06/06 2016

dev-master

9999999-dev

Token Auth Bundle

  Sources   Download

The Requires

 

api auth igdr