kivra/oauth2 — pull request #48 by IvanMartinez (2014-08-22 18:09:22+00:00)
Title: Adds response_type/grant_type parameter to all API functions.

**WARNING: Breaks the compatibility with any code using the library**
The specification of Authorization Code Grant and Implicit Grant requires that unsupported_response_type errors are sent to the redirect URI if this is valid (see 4.1.2.1 and 4.2.2.1). In order to facilitate this, authorize_code_request and authorize_password have been modified to return unsupported_response_type when response_type in the request is wrong but the client and redirect_uri are valid.
response_type or grant_type parameters have been added to every other API function for the shake of consistency.