17 lines
329 B
PHP
Executable File
17 lines
329 B
PHP
Executable File
<?php
|
|
|
|
namespace PragmaRX\Google2FA\Support;
|
|
|
|
class Url
|
|
{
|
|
public static function generateGoogleQRCodeUrl($domain, $page, $queryParameters, $qrCodeUrl)
|
|
{
|
|
$url = $domain.
|
|
rawurlencode($page).
|
|
'?'.$queryParameters.
|
|
urlencode($qrCodeUrl);
|
|
|
|
return $url;
|
|
}
|
|
}
|