All Projects → slashfan → LexikJWTAuthenticationBundleSandbox

slashfan / LexikJWTAuthenticationBundleSandbox

Licence: MIT license
[deprecated] Symfony 2.3 + LexikJWTAuthenticationBundle 1.x sandbox - see https://github.com/chalasr/lexik-jwt-authentication-sandbox for an up-to-date sandbox

Programming Languages

PHP
23972 projects - #3 most used programming language
ApacheConf
554 projects
HTML
75241 projects
Makefile
30231 projects

LexikJWTAuthenticationBundle Sandbox

Build Status

A minimalist sandbox to quickly test JWT authentication through LexikJWTAuthenticationBundle and Symfony2.3. Demonstration purpose only. Do not use this application directly in production.

Installation

Dependencies

composer install -o

Running test suite

bin/phpunit -c app

Manually check token generation using the CLI

curl -X POST http://localhost:8000/api/login_check -d username=user -d password=password

Run the AngularJS demo app

A sample demo application is available in the web/angular-demo directory. It is based on the great post Authentication with Ionic and Angular.js in a Cordova/Phonegap mobile web application.

To run the demo app :

  • install the assets using bower install in the web/angular-demo directory
  • run the symfony application with a app/console server:run
  • browse to http://localhost:8000/angular-demo/index.html
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].