2013-06-17 19:48:41 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
final class PhabricatorAuthProviderConfigTransaction
|
|
|
|
extends PhabricatorApplicationTransaction {
|
|
|
|
|
2013-06-17 19:52:38 +02:00
|
|
|
const TYPE_ENABLE = 'config:enable';
|
|
|
|
const TYPE_REGISTRATION = 'config:registration';
|
|
|
|
const TYPE_LINK = 'config:link';
|
|
|
|
const TYPE_UNLINK = 'config:unlink';
|
|
|
|
const TYPE_PROPERTY = 'config:property';
|
|
|
|
|
2013-06-17 19:48:41 +02:00
|
|
|
public function getApplicationName() {
|
|
|
|
return 'auth';
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getApplicationTransactionType() {
|
|
|
|
return PhabricatorPHIDConstants::PHID_TYPE_AUTH;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getApplicationTransactionCommentObject() {
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getApplicationObjectTypeName() {
|
|
|
|
return pht('authentication provider');
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|