RobThree\Auth\TwoFactorAuth::getQRText PHP Method

getQRText() public method

Builds a string to be encoded in a QR code
public getQRText ( $label, $secret )
    public function getQRText($label, $secret)
    {
        return 'otpauth://totp/' . rawurlencode($label) . '?secret=' . rawurlencode($secret) . '&issuer=' . rawurlencode($this->issuer) . '&period=' . intval($this->period) . '&algorithm=' . rawurlencode(strtoupper($this->algorithm)) . '&digits=' . intval($this->digits);
    }