mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-13 00:56:15 +01:00
2befd239a8
Summary: This supports doing a bunch of sales funnel tracking on Phacility. Test Plan: See next diff. Reviewers: chad Reviewed By: chad Differential Revision: https://secure.phabricator.com/D16890
31 lines
699 B
PHP
31 lines
699 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 didEstablishSession(PhabricatorAuthSessionInfo $info) {
|
|
return;
|
|
}
|
|
|
|
public function willServeRequestForUser(PhabricatorUser $user) {
|
|
return;
|
|
}
|
|
|
|
public function didLogout(PhabricatorUser $user, array $sessions) {
|
|
return;
|
|
}
|
|
|
|
}
|