init web ems all

This commit is contained in:
agtuser
2024-09-27 17:13:36 +08:00
parent 81c97acbe9
commit 5cc56f8078
4263 changed files with 798779 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
<?php
namespace PragmaRX\Google2FA\Exceptions;
use Exception;
class IncompatibleWithGoogleAuthenticatorException extends Exception
{
protected $message = 'This secret key is not compatible with Google Authenticator.';
}

View File

@@ -0,0 +1,10 @@
<?php
namespace PragmaRX\Google2FA\Exceptions;
use Exception;
class InsecureCallException extends Exception
{
protected $message = 'It\'s not secure to send secret keys to Google Apis, you have to explicitly allow it by calling $google2fa->setAllowInsecureCallToGoogleApis(true).';
}

View File

@@ -0,0 +1,10 @@
<?php
namespace PragmaRX\Google2FA\Exceptions;
use Exception;
class InvalidCharactersException extends Exception
{
protected $message = 'Invalid characters in the base32 string.';
}

View File

@@ -0,0 +1,10 @@
<?php
namespace PragmaRX\Google2FA\Exceptions;
use Exception;
class SecretKeyTooShortException extends Exception
{
protected $message = 'Secret key is too short. Must be at least 16 base32 characters';
}