Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/revoker/PhabricatorAuthRevoker.php
<?php | <?php | ||||
abstract class PhabricatorAuthRevoker | abstract class PhabricatorAuthRevoker | ||||
extends Phobject { | extends Phobject { | ||||
private $viewer; | private $viewer; | ||||
abstract public function revokeAllCredentials(); | abstract public function revokeAllCredentials(); | ||||
abstract public function revokeCredentialsFrom($object); | abstract public function revokeCredentialsFrom($object); | ||||
abstract public function getRevokerName(); | |||||
abstract public function getRevokerDescription(); | |||||
public function getRevokerNextSteps() { | |||||
return null; | |||||
} | |||||
public function setViewer(PhabricatorUser $viewer) { | public function setViewer(PhabricatorUser $viewer) { | ||||
$this->viewer = $viewer; | $this->viewer = $viewer; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function getViewer() { | public function getViewer() { | ||||
return $this->viewer; | return $this->viewer; | ||||
} | } | ||||
Show All 13 Lines |