mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
44 lines
699 B
PHP
44 lines
699 B
PHP
<?php
|
|
|
|
namespace Kanboard\Event;
|
|
|
|
use Symfony\Component\EventDispatcher\Event as BaseEvent;
|
|
|
|
/**
|
|
* Authentication Failure Event
|
|
*
|
|
* @package event
|
|
* @author Frederic Guillot
|
|
*/
|
|
class AuthFailureEvent extends BaseEvent
|
|
{
|
|
/**
|
|
* Username
|
|
*
|
|
* @access private
|
|
* @var string
|
|
*/
|
|
private $username = '';
|
|
|
|
/**
|
|
* Constructor
|
|
*
|
|
* @access public
|
|
* @param string $username
|
|
*/
|
|
public function __construct($username = '')
|
|
{
|
|
$this->username = $username;
|
|
}
|
|
|
|
/**
|
|
* Get username
|
|
*
|
|
* @access public
|
|
* @return string
|
|
*/
|
|
public function getUsername()
|
|
{
|
|
return $this->username;
|
|
}
|
|
}
|