1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-21 04:01:30 +01:00
phorge-phorge/src/applications/oauthserver
epriestley 9d0332c2c0 Modernize OAuthserver and provide more context on "no permission" exception
Summary:
Ref T7173. Depends on D14049. Now that Phacility can install custom exception handlers, this puts enough information on the exception so that we can figure out what to do with it.

  - Generally modernize some of this code.
  - Add some more information to PolicyExceptions so the new RequestExceptionHandler can handle them properly.

Test Plan: Failed authorizations, then succeeded authorizations. See next diff.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T7173

Differential Revision: https://secure.phabricator.com/D14050
2015-09-03 10:05:23 -07:00
..
__tests__ phtize all the things 2015-05-22 21:16:39 +10:00
application Allow applications to have multiple "help" menu items 2015-04-01 11:51:48 -07:00
capability Simplify the implementation of PhabricatorPolicyCapability subclasses 2014-07-25 08:25:42 +10:00
controller Modernize OAuthserver and provide more context on "no permission" exception 2015-09-03 10:05:23 -07:00
panel Merge branch 'master' into redesign-2015 2015-05-22 12:57:32 -07:00
phid Rename PHIDType classes 2014-07-24 08:05:46 +10:00
query [Redesign] PhabricatorApplicationSearchResultView 2015-06-19 11:46:20 +01:00
storage OAuth - add concept of "trusted" clients that get auto redirects 2015-02-09 14:23:49 -08:00
PhabricatorOAuthResponse.php Remove @group annotations 2014-07-10 08:12:48 +10:00
PhabricatorOAuthServer.php Extend from Phobject 2015-06-15 18:02:27 +10:00
PhabricatorOAuthServerScope.php Extend from Phobject 2015-06-15 18:02:27 +10:00