Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F549788
PhabricatorAuthFactorProviderDuoUsernamesTransaction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
728 B
Referenced Files
None
Subscribers
None
PhabricatorAuthFactorProviderDuoUsernamesTransaction.php
View Options
<?php
final
class
PhabricatorAuthFactorProviderDuoUsernamesTransaction
extends
PhabricatorAuthFactorProviderTransactionType
{
const
TRANSACTIONTYPE
=
'duo.usernames'
;
public
function
generateOldValue
(
$object
)
{
$key
=
PhabricatorDuoAuthFactor
::
PROP_USERNAMES
;
return
$object
->
getAuthFactorProviderProperty
(
$key
);
}
public
function
applyInternalEffects
(
$object
,
$value
)
{
$key
=
PhabricatorDuoAuthFactor
::
PROP_USERNAMES
;
$object
->
setAuthFactorProviderProperty
(
$key
,
$value
);
}
public
function
getTitle
()
{
return
pht
(
'%s changed the username policy for this provider from %s to %s.'
,
$this
->
renderAuthor
(),
$this
->
renderOldValue
(),
$this
->
renderNewValue
());
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 2:18 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
122146
Default Alt Text
PhabricatorAuthFactorProviderDuoUsernamesTransaction.php (728 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment