Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F72599859
PassphrasePasswordCredentialType.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
Tue, Jul 16, 02:21
Size
710 B
Mime Type
text/x-php
Expires
Thu, Jul 18, 02:21 (2 d)
Engine
blob
Format
Raw Data
Handle
19075682
Attached To
rPH Phabricator
PassphrasePasswordCredentialType.php
View Options
<?php
final
class
PassphrasePasswordCredentialType
extends
PassphraseCredentialType
{
const
CREDENTIAL_TYPE
=
'password'
;
const
PROVIDES_TYPE
=
'provides/password'
;
public
function
getCredentialType
()
{
return
self
::
CREDENTIAL_TYPE
;
}
public
function
getProvidesType
()
{
return
self
::
PROVIDES_TYPE
;
}
public
function
getCredentialTypeName
()
{
return
pht
(
'Password'
);
}
public
function
getCredentialTypeDescription
()
{
return
pht
(
'Store a plaintext password.'
);
}
public
function
getSecretLabel
()
{
return
pht
(
'Password'
);
}
public
function
newSecretControl
()
{
return
id
(
new
AphrontFormPasswordControl
())
->
setDisableAutocomplete
(
true
);
}
}
Event Timeline
Log In to Comment