Rewamp exceptions
Add a curl_error exception
Bump version
Added require statements for GrantTypes used in example.
Merge pull request #10 from chrisradford/master

Update to README as per: https://github.com/shahyar/PHP-OAuth2
Change the MAC signature to be compatible with draft-ietf-oauth-v2-http-mac-01
On some PHP install the default separator of http_build_query() is "&amp;". So, I have to set the separator to "&" in "http_build_query()"
Add the setCurlOptions method

This method will be called before executing the request via curl_exec to
change the curl options and give more flexibilty.
libcurl does not support the 1 value anymore
Add composer support
Fix composer autoload option
Merge pull request #17 from javiervd/master

Add composer support
Change the name from OAuth2 to oauth2 in composer.json

Packagist only allow lower case names
Change autoloading to classmap
Merge pull request #18 from javiervd/master

Change composer autoload to classmap
Fix parameters for second curl_setopt_array call
Merge pull request #20 from dmp1ce/master

Fix parameters for second curl_setopt_array call
Merge pull request #19 from hiteule/07c38cbba6d612b577420b0fbfefe22ff9654e1b

Fix wrong post query seprator on some PHP install
Minor comment misspelling
Merge pull request #21 from dmp1ce/master

Fix minor misspelling of the word "Grant"