bazalt/auth

dev-master 2014-09-11 11:07 UTC

README

Build Status Coverage Status

// Security configuration
$config = \Bazalt\Config::container();
$config['jwt.key'] = 'key';

GET /auth/session

Return current logined user

POST /auth/session

Login user

DELETE /auth/session

Logout user