Differential D15620 Diff 37653 src/applications/oauthserver/application/PhabricatorOAuthServerApplication.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/oauthserver/application/PhabricatorOAuthServerApplication.php
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | public function getRoutes() { | ||||
return array( | return array( | ||||
'/oauthserver/' => array( | '/oauthserver/' => array( | ||||
'(?:query/(?P<queryKey>[^/]+)/)?' | '(?:query/(?P<queryKey>[^/]+)/)?' | ||||
=> 'PhabricatorOAuthClientListController', | => 'PhabricatorOAuthClientListController', | ||||
'auth/' => 'PhabricatorOAuthServerAuthController', | 'auth/' => 'PhabricatorOAuthServerAuthController', | ||||
'token/' => 'PhabricatorOAuthServerTokenController', | 'token/' => 'PhabricatorOAuthServerTokenController', | ||||
$this->getEditRoutePattern('edit/') => | $this->getEditRoutePattern('edit/') => | ||||
'PhabricatorOAuthClientEditController', | 'PhabricatorOAuthClientEditController', | ||||
'client/' => array( | 'client/' => array( | ||||
'delete/(?P<id>\d+)/' => 'PhabricatorOAuthClientDeleteController', | 'disable/(?P<id>\d+)/' => 'PhabricatorOAuthClientDisableController', | ||||
'view/(?P<id>\d+)/' => 'PhabricatorOAuthClientViewController', | 'view/(?P<id>\d+)/' => 'PhabricatorOAuthClientViewController', | ||||
'secret/(?P<id>\d+)/' => 'PhabricatorOAuthClientSecretController', | 'secret/(?P<id>\d+)/' => 'PhabricatorOAuthClientSecretController', | ||||
'test/(?P<id>\d+)/' => 'PhabricatorOAuthClientTestController', | 'test/(?P<id>\d+)/' => 'PhabricatorOAuthClientTestController', | ||||
), | ), | ||||
), | ), | ||||
); | ); | ||||
} | } | ||||
Show All 9 Lines |