Path: blob/master/src/applications/auth/revoker/PhabricatorAuthRevoker.php
12256 views
<?php12abstract class PhabricatorAuthRevoker3extends Phobject {45private $viewer;67abstract public function revokeAllCredentials();8abstract public function revokeCredentialsFrom($object);910abstract public function getRevokerName();11abstract public function getRevokerDescription();1213public function getRevokerNextSteps() {14return null;15}1617public function setViewer(PhabricatorUser $viewer) {18$this->viewer = $viewer;19return $this;20}2122public function getViewer() {23return $this->viewer;24}2526final public function getRevokerKey() {27return $this->getPhobjectClassConstant('REVOKERKEY');28}2930final public static function getAllRevokers() {31return id(new PhutilClassMapQuery())32->setAncestorClass(__CLASS__)33->setUniqueMethod('getRevokerKey')34->execute();35}3637}383940