mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-08-25 05:56:34 +00:00
8428b2d25a
* Exceptions thrown by TwoFactorAuth are now of type TwoFactorAuthException * createSecret now has extra argument $requirecryptosecure which is used to force cryptographically secure secrets * HashRNGProvider now returns string instead of "byte array" * HashRNGProvider is now initialized with two random values (for the heck of it...)
11 lines
230 B
PHP
11 lines
230 B
PHP
<?php
|
|
|
|
namespace RobThree\TwoFactorAuth;
|
|
|
|
class TwoFactorAuthException extends \Exception
|
|
{
|
|
function __construct($message = "", $code = 0, $exception = null)
|
|
{
|
|
parent::__construct($message, $code, $exception);
|
|
}
|
|
} |