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

@param string $roleName