6 * An interface for validating user authentication credentials.
8 interface UserAuthInterface {
11 * Validates user authentication credentials.
13 * @param string $username
14 * The user name to authenticate.
15 * @param string $password
16 * A plain-text password, such as trimmed text from form values.
18 * The user's uid on success, or FALSE on failure to authenticate.
20 public function authenticate($username, $password);