2017 © Pedro Peláez
 

library auth-bundle

symfony authorization bundle utilizing FOSUserBundle, JWT, and necessary tools for a JWT Based Rest Environment

image

jtangas/auth-bundle

symfony authorization bundle utilizing FOSUserBundle, JWT, and necessary tools for a JWT Based Rest Environment

  • Thursday, December 21, 2017
  • by jtangas
  • Repository
  • 0 Watchers
  • 0 Stars
  • 7 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Installation

Install the package with composer, (*1)

composer require jtangas/auth-bundle

Add LexikJWT, FOSUserBundle, and this bundle to app/AppKernel.php, (*2)

$bundles = [
    ...
    new Lexik\Bundle\JWTAuthenticationBundle\LexikJWTAuthenticationBundle(),
    new Jtangas\AuthBundle\JtangasAuthBundle(),
    new FOS\UserBundle\FOSUserBundle(),
];

Follow prompts to generate default values for Lexik JWT, (*3)

Values

parameter default value description
jwt_private_key_path '%kernel.project_dir%/var/jwt/private.pem' The default location of where the package will build the private pem file for JWT.
jwt_public_key_path '%kernel.prject_dir%/var/jwt/public.pem' The default location of where the package will build the public pem file for JWT.
jwt_key_pass_phrase null The password the user must provide to secure the private key file
jwt_token_ttl null deprecated
jwt_token_ttl_admin null Sets token TTL for admin level users with FOS User Roles
jwt_token_ttl_user null Sets token TTL for user level users with FOS User Roles
user_identity_field username Defines what field in the database will be used as the users login name
user_class null Defines your user class that will be implementing the FOS User class
extra_debug false deprecated

The Versions

21/12 2017

dev-master

9999999-dev https://bitbucket.org/jtangas/auth-bundle

symfony authorization bundle utilizing FOSUserBundle, JWT, and necessary tools for a JWT Based Rest Environment

  Sources   Download

MIT

The Requires

 

by Justin Tangas
by Jeremy Kent

21/12 2017

0.6

0.6.0.0 https://bitbucket.org/jtangas/auth-bundle

symfony authorization bundle utilizing FOSUserBundle, JWT, and necessary tools for a JWT Based Rest Environment

  Sources   Download

MIT

The Requires

 

by Justin Tangas
by Jeremy Kent

21/12 2017

0.4

0.4.0.0 https://bitbucket.org/jtangas/auth-bundle

symfony authorization bundle utilizing FOSUserBundle, JWT, and necessary tools for a JWT Based Rest Environment

  Sources   Download

MIT

The Requires

 

by Justin Tangas

21/12 2017

0.3

0.3.0.0 https://bitbucket.org/jtangas/auth-bundle

symfony authorization bundle utilizing FOSUserBundle, JWT, and necessary tools for a JWT Based Rest Environment

  Sources   Download

MIT

The Requires

 

by Justin Tangas

21/12 2017

0.2

0.2.0.0 https://bitbucket.org/jtangas/auth-bundle

symfony authorization bundle utilizing FOSUserBundle, JWT, and necessary tools for a JWT Based Rest Environment

  Sources   Download

MIT

The Requires

 

by Justin Tangas

21/12 2017

0.1

0.1.0.0 https://bitbucket.org/jtangas/auth-bundle

symfony authorization bundle utilizing FOSUserBundle, JWT, and necessary tools for a JWT Based Rest Environment

  Sources   Download

MIT

The Requires

 

by Justin Tangas