Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92688990
PhabricatorAuthFactorProviderDuoEnrollTransaction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Nov 22, 19:19
Size
718 B
Mime Type
text/x-php
Expires
Sun, Nov 24, 19:19 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22487051
Attached To
rPH Phabricator
PhabricatorAuthFactorProviderDuoEnrollTransaction.php
View Options
<?php
final
class
PhabricatorAuthFactorProviderDuoEnrollTransaction
extends
PhabricatorAuthFactorProviderTransactionType
{
const
TRANSACTIONTYPE
=
'duo.enroll'
;
public
function
generateOldValue
(
$object
)
{
$key
=
PhabricatorDuoAuthFactor
::
PROP_ENROLL
;
return
$object
->
getAuthFactorProviderProperty
(
$key
);
}
public
function
applyInternalEffects
(
$object
,
$value
)
{
$key
=
PhabricatorDuoAuthFactor
::
PROP_ENROLL
;
$object
->
setAuthFactorProviderProperty
(
$key
,
$value
);
}
public
function
getTitle
()
{
return
pht
(
'%s changed the enrollment policy for this provider from %s to %s.'
,
$this
->
renderAuthor
(),
$this
->
renderOldValue
(),
$this
->
renderNewValue
());
}
}
Event Timeline
Log In to Comment