diff options
author | Andrew Dolgov <[email protected]> | 2018-06-20 18:27:34 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-06-20 18:27:34 +0300 |
commit | 310c18e6bbd8e7f78a0a45f0501cb1dc6fab2159 (patch) | |
tree | 1aee50612509895272be3d11b32b08f7e8b0e497 /vendor/OTPHP/OTPHP.php | |
parent | df47100ad10117f67dd0fb86f270cdd2d24b5692 (diff) |
move OTPHP to vendor/; additionally move Base32 class to OTPHP namespace
Diffstat (limited to 'vendor/OTPHP/OTPHP.php')
-rw-r--r-- | vendor/OTPHP/OTPHP.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/vendor/OTPHP/OTPHP.php b/vendor/OTPHP/OTPHP.php new file mode 100644 index 000000000..a6c6f8d66 --- /dev/null +++ b/vendor/OTPHP/OTPHP.php @@ -0,0 +1,27 @@ +<?php +/* + * Copyright (c) 2011 Le Lag + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + +require_once dirname(__FILE__).'/../vendor/libs.php'; +require_once dirname(__FILE__).'/otp.php'; +require_once dirname(__FILE__).'/hotp.php'; +require_once dirname(__FILE__).'/totp.php'; + |