mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-01 03:02:43 +01:00
24 lines
524 B
PHP
24 lines
524 B
PHP
|
<?php
|
||
|
|
||
|
abstract class PhabricatorAuthSessionEngineExtension
|
||
|
extends Phobject {
|
||
|
|
||
|
final public function getExtensionKey() {
|
||
|
return $this->getPhobjectClassConstant('EXTENSIONKEY');
|
||
|
}
|
||
|
|
||
|
final public static function getAllExtensions() {
|
||
|
return id(new PhutilClassMapQuery())
|
||
|
->setAncestorClass(__CLASS__)
|
||
|
->setUniqueMethod('getExtensionKey')
|
||
|
->execute();
|
||
|
}
|
||
|
|
||
|
abstract public function getExtensionName();
|
||
|
|
||
|
public function didLogout(PhabricatorUser $user, array $sessions) {
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
}
|