Right now I'm developing a simple API for a continuous integration server with Silex. Now the api should be accessible to everyone with secret key, but for logged in users I want api to be available without any key.Right now I'm developing a simple API for a con