added auth events
This commit is contained in:
		
							
								
								
									
										28
									
								
								app/Events/Auth/Failed.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								app/Events/Auth/Failed.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,28 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace App\Events\Auth;
 | 
			
		||||
 | 
			
		||||
use App\Abstracts\Event;
 | 
			
		||||
 | 
			
		||||
class Failed extends Event
 | 
			
		||||
{
 | 
			
		||||
    public $alias;
 | 
			
		||||
 | 
			
		||||
    public $company_id;
 | 
			
		||||
 | 
			
		||||
    public $protocol;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Create a new event instance.
 | 
			
		||||
     *
 | 
			
		||||
     * @param  $alias
 | 
			
		||||
     * @param  $company_id
 | 
			
		||||
     * @param  $protocol
 | 
			
		||||
     */
 | 
			
		||||
    public function __construct($alias, $company_id = null, $protocol = 'basic')
 | 
			
		||||
    {
 | 
			
		||||
        $this->alias = $alias;
 | 
			
		||||
        $this->company_id = $company_id;
 | 
			
		||||
        $this->protocol = $protocol;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user