Move into nested docroot
This commit is contained in:
parent
83a0d3a149
commit
c8b70abde9
13405 changed files with 0 additions and 0 deletions
22
web/core/modules/user/src/UserAuthInterface.php
Normal file
22
web/core/modules/user/src/UserAuthInterface.php
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
|
||||
namespace Drupal\user;
|
||||
|
||||
/**
|
||||
* An interface for validating user authentication credentials.
|
||||
*/
|
||||
interface UserAuthInterface {
|
||||
|
||||
/**
|
||||
* Validates user authentication credentials.
|
||||
*
|
||||
* @param string $username
|
||||
* The user name to authenticate.
|
||||
* @param string $password
|
||||
* A plain-text password, such as trimmed text from form values.
|
||||
* @return int|bool
|
||||
* The user's uid on success, or FALSE on failure to authenticate.
|
||||
*/
|
||||
public function authenticate($username, $password);
|
||||
|
||||
}
|
||||
Reference in a new issue