src/Events/CredentialCloned.php
<?php
namespace Laragear\WebAuthn\Events;
use Illuminate\Foundation\Events\Dispatchable;
use Laragear\WebAuthn\Models\WebAuthnCredential;
class CredentialCloned
{
use Dispatchable;
/**
* Create a new event instance.
*
* @param \Laragear\WebAuthn\Models\WebAuthnCredential $credential
* @param int $reportedCount The counter reported by the user authenticator.
*/
public function __construct(public WebAuthnCredential $credential, public int $reportedCount)
{
//
}
}