bshaffer/oauth2-server-php — pull request #112 by rjmackay (2013-04-29 00:30:57+00:00)
Title: Check client's allowed grant types for authorize requests #111

Add checks for restricted grant type to Authorize Controller.
Means that clients need 'implicit' grant type to use implicit flow, and
clients that can't use auth code flow get bumped on the authorization step
not the token step.

Not totally sure I've got the checks in the right place. And I'm suspect "implicit" should really be a constant defined somewhere, rather than hardcoded.