File size: 698 Bytes
e4f4821
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?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;
    }
}