applicake/doorkeeper — pull request #32 by GoldsteinTechPartners (2012-01-08 08:24:55+00:00)
Title: Feature/add token flow

Add 'Implicit Grant' or token flow as described in section 4.2 of the OAuth 2 specification.

Most existing functionality was left unchanged, although some minor changes were made to error handling to bring the system into agreement with the 4.1.2.1 and 4.2.2.1 sections of the specification.

One additional item of note is that some tests that would normally be structured as request tests were built as controller tests - this was necessary so the tests could access the fragment sections of the Location URIs returned from the server in the OAuth flow. While accessing these values may be possible in a request test, I was unable to figure out how to do it.