Files
sysPass/lib/SP/Services/Auth/LoginResponse.php
nuxsmin ed0d95b774 * [ADD] Improved tracking handling.
* [MOD] Improved login process workflow.
2018-02-26 14:10:28 +01:00

47 lines
709 B
PHP

<?php
namespace SP\Services\Auth;
/**
* Class LoginResponse
*
* @package SP\Services\Auth
*/
class LoginResponse
{
/**
* @var int
*/
private $status;
/**
* @var string
*/
private $redirect;
/**
* LoginResponse constructor.
* @param int $status
* @param string $redirect
*/
public function __construct($status, $redirect = null)
{
$this->status = $status;
$this->redirect = $redirect;
}
/**
* @return int
*/
public function getStatus()
{
return $this->status;
}
/**
* @return string
*/
public function getRedirect()
{
return $this->redirect;
}
}