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);
    }
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);
    }
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 ) ; }
Builds a string to be encoded in a QR code
Builds a string to be encoded in a QR code