public function getDeviceValidationToken()
    {
        $username = $this->httpRequest()->post('username');
        $token = $this->getLoginInstance()->generateDeviceValidationToken($username);

        return ['deviceValidationToken' => $token];
    }