Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/storage/PhabricatorAuthProviderConfig.php
| Show First 20 Lines • Show All 89 Lines • ▼ Show 20 Lines | final class PhabricatorAuthProviderConfig | ||||
| public function getObjectName() { | public function getObjectName() { | ||||
| return pht('Auth Provider %d', $this->getID()); | return pht('Auth Provider %d', $this->getID()); | ||||
| } | } | ||||
| public function getDisplayName() { | public function getDisplayName() { | ||||
| return $this->getProvider()->getProviderName(); | return $this->getProvider()->getProviderName(); | ||||
| } | } | ||||
| public function getSortVector() { | |||||
| return id(new PhutilSortVector()) | |||||
| ->addString($this->getDisplayName()); | |||||
| } | |||||
| public function newIconView() { | |||||
| return $this->getProvider()->newIconView(); | |||||
| } | |||||
| /* -( PhabricatorApplicationTransactionInterface )------------------------- */ | /* -( PhabricatorApplicationTransactionInterface )------------------------- */ | ||||
| public function getApplicationTransactionEditor() { | public function getApplicationTransactionEditor() { | ||||
| return new PhabricatorAuthProviderConfigEditor(); | return new PhabricatorAuthProviderConfigEditor(); | ||||
| } | } | ||||
| Show All 29 Lines | |||||