OTPHP\OTPInterface::getQrCodeUri PHP Méthode

getQrCodeUri() public méthode

public getQrCodeUri ( string $uri = 'https://chart.googleapis.com/chart?chs=200x200&chld=M|0&cht=qr&chl={PROVISIONING_URI}', string $placeholder = '{PROVISIONING_URI}' ) : string
$uri string The Uri of the QRCode generator with all parameters. By default the Googgle Chart API is used. This Uri MUST contain a placeholder that will be replaced by the method.
$placeholder string The placeholder to be replaced in the QR Code generator URI. Default value is {PROVISIONING_URI}.
Résultat string Get the provisioning URI
    public function getQrCodeUri($uri = 'https://chart.googleapis.com/chart?chs=200x200&chld=M|0&cht=qr&chl={PROVISIONING_URI}', $placeholder = '{PROVISIONING_URI}');