PoC of school digital workspace without a CAS, using Macaroons
Brendan Abolivier a02fcb6e77
Clarified instructions
8 年之前
..
README.md Clarified instructions 8 年之前
index.php Basic PHP service with auth based on user category 8 年之前

README.md

Service 1

This is a PHP service which authenticate an user based on their Macaroons, and only allow a teacher to access it.

It is a really simple use of immense's implementation of Macaroons.

To run it, you'll need to install the implementation's requirements, then, you'll need composer to install the said implementation. Once composer has been set up, you can install the Macaroons implementation by running composer init and composer require immense/macaroons in this directory.