First release
This commit is contained in:
19
tests/Stubs/WebAuthnAuthenticatableUser.php
Normal file
19
tests/Stubs/WebAuthnAuthenticatableUser.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Stubs;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Foundation\Auth\User;
|
||||
use Laragear\WebAuthn\Contracts\WebAuthnAuthenticatable;
|
||||
use Laragear\WebAuthn\WebAuthnAuthentication;
|
||||
|
||||
/**
|
||||
* @method static static forceCreate(array $attributes = [])
|
||||
*/
|
||||
class WebAuthnAuthenticatableUser extends User implements WebAuthnAuthenticatable
|
||||
{
|
||||
use HasFactory;
|
||||
use WebAuthnAuthentication;
|
||||
|
||||
protected $table = 'users';
|
||||
}
|
||||
Reference in New Issue
Block a user