Files
Kanboard-Prod/app/Event/AuthSuccessEvent.php
Joe Nahmias bd7f3d219d bump symfony to 5.4.21
adapt to the new EventDispatcher API
  - Symfony\Component\EventDispatcher => Symfony\Contracts\EventDispatcher
  - dispatch() arguments swap
  - execute() must return int
2023-07-01 20:41:08 -07:00

44 lines
698 B
PHP

<?php
namespace Kanboard\Event;
use Symfony\Contracts\EventDispatcher\Event as BaseEvent;
/**
* Authentication Success Event
*
* @package event
* @author Frederic Guillot
*/
class AuthSuccessEvent extends BaseEvent
{
/**
* Authentication provider name
*
* @access private
* @var string
*/
private $authType;
/**
* Constructor
*
* @access public
* @param string $authType
*/
public function __construct($authType)
{
$this->authType = $authType;
}
/**
* Get authentication type
*
* @return string
*/
public function getAuthType()
{
return $this->authType;
}
}