aboutsummaryrefslogtreecommitdiff
path: root/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Support/QRCode.php
diff options
context:
space:
mode:
Diffstat (limited to 'srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Support/QRCode.php')
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Support/QRCode.php28
1 files changed, 0 insertions, 28 deletions
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Support/QRCode.php b/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Support/QRCode.php
deleted file mode 100644
index 01fbe29..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Support/QRCode.php
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-
-namespace PragmaRX\Google2FA\Support;
-
-trait QRCode
-{
- /**
- * Creates a QR code url.
- *
- * @param $company
- * @param $holder
- * @param $secret
- *
- * @return string
- */
- public function getQRCodeUrl($company, $holder, $secret)
- {
- return 'otpauth://totp/' .
- rawurlencode($company) .
- ':' .
- rawurlencode($holder) .
- '?secret=' .
- $secret .
- '&issuer=' .
- rawurlencode($company) .
- '';
- }
-}