src/Auth/Auth.php
public function setUsername($username) {
        $this->username = $username;
        if ($this->session !== null) {
            $this->session->set('username', $username);
        }
    }
public function setUsername($username) {
        $this->username = $username;
        if ($this->session !== null) {
            $this->session->set('username', $username);
        }
    }
Set the username.

@param string $username