Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/provider/PhabricatorAuthProvider.php
Show First 20 Lines • Show All 305 Lines • ▼ Show 20 Lines | abstract class PhabricatorAuthProvider extends Phobject { | ||||
public function getLoginOrder() { | public function getLoginOrder() { | ||||
return '500-'.$this->getProviderName(); | return '500-'.$this->getProviderName(); | ||||
} | } | ||||
protected function getLoginIcon() { | protected function getLoginIcon() { | ||||
return 'Generic'; | return 'Generic'; | ||||
} | } | ||||
public function newIconView() { | |||||
return id(new PHUIIconView()) | |||||
->setSpriteSheet(PHUIIconView::SPRITE_LOGIN) | |||||
->setSpriteIcon($this->getLoginIcon()); | |||||
} | |||||
public function isLoginFormAButton() { | public function isLoginFormAButton() { | ||||
return false; | return false; | ||||
} | } | ||||
public function renderConfigPropertyTransactionTitle( | public function renderConfigPropertyTransactionTitle( | ||||
PhabricatorAuthProviderConfigTransaction $xaction) { | PhabricatorAuthProviderConfigTransaction $xaction) { | ||||
return null; | return null; | ||||
▲ Show 20 Lines • Show All 198 Lines • Show Last 20 Lines |