Minimal foundation of a functioning OAuth 2.0 authorised API, written with Silex and Doctrine DBAL