Differential D20624 Diff 49205 src/applications/oauthserver/storage/PhabricatorOAuthServerClient.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/oauthserver/storage/PhabricatorOAuthServerClient.php
| Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Lines | protected function getConfiguration() { | ||||
| ) + parent::getConfiguration(); | ) + parent::getConfiguration(); | ||||
| } | } | ||||
| public function generatePHID() { | public function generatePHID() { | ||||
| return PhabricatorPHID::generateNewPHID( | return PhabricatorPHID::generateNewPHID( | ||||
| PhabricatorOAuthServerClientPHIDType::TYPECONST); | PhabricatorOAuthServerClientPHIDType::TYPECONST); | ||||
| } | } | ||||
| public function getURI() { | |||||
| return urisprintf( | |||||
| '/oauthserver/client/view/%d/', | |||||
| $this->getID()); | |||||
| } | |||||
| /* -( PhabricatorPolicyInterface )----------------------------------------- */ | /* -( PhabricatorPolicyInterface )----------------------------------------- */ | ||||
| public function getCapabilities() { | public function getCapabilities() { | ||||
| return array( | return array( | ||||
| PhabricatorPolicyCapability::CAN_VIEW, | PhabricatorPolicyCapability::CAN_VIEW, | ||||
| PhabricatorPolicyCapability::CAN_EDIT, | PhabricatorPolicyCapability::CAN_EDIT, | ||||
| ▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines | |||||