You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
481 B

<?php
declare(strict_types=1);
namespace authkit2\Events;
/**
* Notification that a user has logged into the app
*/
class UserLogin extends UserEvent
{
/**
* Additional fields returned during login
*
* @var mixed
*/
public $user_info;
/**
* Initialize new event
*
* @param mixed $user
* @param array<string,string> $user_info
*/
public function __construct($user, array $user_info)
{
parent::__construct($user);
$this->user_info = $user_info;
}
}