OAuth will be used as an authentication filter, so all client errors produced in the OAuth calls should be treated as an `AuthorizationException`. This will allow providers and clients to properly handle and react to OAuth specific errors.
/cc @danbroudy You can view, comment on, or merge this pull request online at: https://github.com/jclouds/jclouds/pull/753 -- Commit Summary -- * Propagate an AuthorizationException on OAuth client errors -- File Changes -- M apis/oauth/src/main/java/org/jclouds/oauth/v2/AuthorizationApi.java (5) A apis/oauth/src/main/java/org/jclouds/oauth/v2/OAuthFallbacks.java (57) M apis/oauth/src/test/java/org/jclouds/oauth/v2/AuthorizationApiMockTest.java (82) -- Patch Links -- https://github.com/jclouds/jclouds/pull/753.patch https://github.com/jclouds/jclouds/pull/753.diff --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/753
