Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/phid/PhabricatorAuthAuthFactorPHIDType.php
<?php | <?php | ||||
final class PhabricatorAuthAuthFactorPHIDType extends PhabricatorPHIDType { | final class PhabricatorAuthAuthFactorPHIDType extends PhabricatorPHIDType { | ||||
const TYPECONST = 'AFTR'; | const TYPECONST = 'AFTR'; | ||||
public function getTypeName() { | public function getTypeName() { | ||||
return pht('Auth Factor'); | return pht('Auth Factor'); | ||||
} | } | ||||
public function newObject() { | public function newObject() { | ||||
return new PhabricatorAuthFactorConfig(); | return new PhabricatorAuthFactorConfig(); | ||||
} | } | ||||
public function getPHIDTypeApplicationClass() { | |||||
return 'PhabricatorAuthApplication'; | |||||
} | |||||
protected function buildQueryForObjects( | protected function buildQueryForObjects( | ||||
PhabricatorObjectQuery $query, | PhabricatorObjectQuery $query, | ||||
array $phids) { | array $phids) { | ||||
// TODO: Maybe we need this eventually? | // TODO: Maybe we need this eventually? | ||||
throw new PhutilMethodNotImplementedException(); | throw new PhutilMethodNotImplementedException(); | ||||
} | } | ||||
Show All 13 Lines |