Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F111804922
PhabricatorAuthPasswordHashInterface.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
Mon, May 5, 04:07
Size
867 B
Mime Type
text/x-php
Expires
Wed, May 7, 04:07 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
25980424
Attached To
rPH Phabricator
PhabricatorAuthPasswordHashInterface.php
View Options
<?php
interface
PhabricatorAuthPasswordHashInterface
{
public
function
newPasswordDigest
(
PhutilOpaqueEnvelope
$envelope
,
PhabricatorAuthPassword
$password
);
/**
* Return a list of strings which passwords associated with this object may
* not be similar to.
*
* This method allows you to prevent users from selecting their username
* as their password or picking other passwords which are trivially similar
* to an account or object identifier.
*
* @param PhabricatorUser The user selecting the password.
* @param PhabricatorAuthPasswordEngine The password engine updating a
* password.
* @return list<string> Blocklist of nonsecret identifiers which the password
* should not be similar to.
*/
public
function
newPasswordBlocklist
(
PhabricatorUser
$viewer
,
PhabricatorAuthPasswordEngine
$engine
);
}
Event Timeline
Log In to Comment