v1.0 Initial commit of project
This commit is contained in:
20
vendor/robthree/twofactorauth/tests/Providers/Qr/TestQrProvider.php
vendored
Normal file
20
vendor/robthree/twofactorauth/tests/Providers/Qr/TestQrProvider.php
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Providers\Qr;
|
||||
|
||||
use RobThree\Auth\Providers\Qr\IQRCodeProvider;
|
||||
|
||||
class TestQrProvider implements IQRCodeProvider
|
||||
{
|
||||
public function getQRCodeImage(string $qrText, int $size): string
|
||||
{
|
||||
return $qrText . '@' . $size;
|
||||
}
|
||||
|
||||
public function getMimeType(): string
|
||||
{
|
||||
return 'test/test';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user